diff options
author | Justin Maggard <jmaggard@users.sourceforge.net> | 2009-04-02 00:18:59 +0400 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforge.net> | 2009-04-02 00:18:59 +0400 |
commit | 19819aeca4137795b50b8b90373792facc56601c (patch) | |
tree | 75dc332f0193f511892fa04933a371166103d49d /upnpsoap.h | |
parent | 549698355af23643bea75eb5ab300e13b141df43 (diff) |
* Major optimization for large Search/Browse responses. Using strcat gets very slow when the data size gets too big. Switching to memcpy gives us a huge performance improvement with very large responses.
Diffstat (limited to 'upnpsoap.h')
-rw-r--r-- | upnpsoap.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ struct Response int returned; int requested; int total; - char *filter; + int size; + u_int32_t filter; enum clientType client; }; |