Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2009-04-02 00:18:59 +0400
committerJustin Maggard <jmaggard@users.sourceforge.net>2009-04-02 00:18:59 +0400
commit19819aeca4137795b50b8b90373792facc56601c (patch)
tree75dc332f0193f511892fa04933a371166103d49d /upnpsoap.h
parent549698355af23643bea75eb5ab300e13b141df43 (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/upnpsoap.h b/upnpsoap.h
index 689ca71..c910213 100644
--- a/upnpsoap.h
+++ b/upnpsoap.h
@@ -21,7 +21,8 @@ struct Response
int returned;
int requested;
int total;
- char *filter;
+ int size;
+ u_int32_t filter;
enum clientType client;
};