mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Allocate udp buffer dynamically
This commit is contained in:
1 parent
cbab76fe41
commit
0e13f57139
5 files changed
+21
-10
No files matched your search
+2
-4
@@ -569,11 +569,9 @@ struct srvparam {
|
||||
uint16_t targetport;
|
||||
unsigned char replace;
|
||||
time_t time_start;
|
||||
#ifndef NOUDPMAIN
|
||||
unsigned char udpbuf[UDPBUFSIZE];
|
||||
unsigned char udpbuf2[UDPBUFSIZE];
|
||||
unsigned char *udpbuf;
|
||||
unsigned char *udpbuf2;
|
||||
int udplen;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct clientparam {
|
||||
|
||||
Reference in new issue
Block a user