mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r11931@catbus: nickm | 2007-02-24 15:28:34 -0500
crank up the length of the maximum allowed control message. svn:r9644
This commit is contained in:
+3
-2
@@ -729,9 +729,10 @@ static void
|
||||
send_control1_event_impl(uint16_t event, event_format_t which, int extended,
|
||||
const char *format, va_list ap)
|
||||
{
|
||||
#define SEND_CONTROL1_EVENT_BUFFERSIZE 1024
|
||||
/* This is just a little longer than the longest allowed log message */
|
||||
#define SEND_CONTROL1_EVENT_BUFFERSIZE 10064
|
||||
int r;
|
||||
char buf[SEND_CONTROL1_EVENT_BUFFERSIZE]; /* XXXX Length */
|
||||
char buf[SEND_CONTROL1_EVENT_BUFFERSIZE];
|
||||
size_t len;
|
||||
char *cp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user