projects
/
profile
/
ivi
/
GSSDP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb4dd0
)
gssdp-client: increase BUF_SIZE to 65536
author
Steffen Sledz
<sledz@dresearch-fe.de>
Mon, 31 Oct 2011 13:24:35 +0000
(14:24 +0100)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Mon, 31 Oct 2011 14:08:15 +0000
(16:08 +0200)
A size of 1024 is a really hard limitation. The UDP length field
size sets a theoretical limit of 65,535 bytes (8 byte header +
65,527 bytes of data) for a UDP datagram.
Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
libgssdp/gssdp-client.c
patch
|
blob
|
history
diff --git
a/libgssdp/gssdp-client.c
b/libgssdp/gssdp-client.c
index
7bbc71d
..
c2d2561
100644
(file)
--- a/
libgssdp/gssdp-client.c
+++ b/
libgssdp/gssdp-client.c
@@
-70,7
+70,7
@@
typedef unsigned long in_addr_t;
#endif
/* Size of the buffer used for reading from the socket */
-#define BUF_SIZE
1024
+#define BUF_SIZE
65536
static void
gssdp_client_initable_iface_init (gpointer g_iface,