diff options
author | erdgeist <> | 2007-11-21 01:55:59 +0000 |
---|---|---|
committer | erdgeist <> | 2007-11-21 01:55:59 +0000 |
commit | 8bee224dc08aea5681d0065ed179cdcac6962450 (patch) | |
tree | 82b21200ad46ebe64cc4e3ac443757cf03b29483 /ot_udp.c | |
parent | 9e45802946b89f61ec1420f2a9e5efd19ab9641c (diff) |
static bufs are not shared anymore, even if that means more memory.
Diffstat (limited to 'ot_udp.c')
-rw-r--r-- | ot_udp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ | |||
14 | #include "ot_udp.h" | 14 | #include "ot_udp.h" |
15 | #include "ot_stats.h" | 15 | #include "ot_stats.h" |
16 | 16 | ||
17 | static char static_inbuf[8192]; | ||
18 | static char static_outbuf[8192]; | ||
19 | |||
17 | /* UDP implementation according to http://xbtt.sourceforge.net/udp_tracker_protocol.html */ | 20 | /* UDP implementation according to http://xbtt.sourceforge.net/udp_tracker_protocol.html */ |
18 | void handle_udp4( int64 serversocket ) { | 21 | void handle_udp4( int64 serversocket ) { |
19 | ot_peer peer; | 22 | ot_peer peer; |