[Coder-Com] Relaying long messages

2001-11-09 Thread Sascha Schumann
Hi, could anyone explain what problems can arise, if BUFSIZE is increased? #define BUFSIZE 512 /* WARNING: *DONT* CHANGE THIS */ One application (not related to any IRC network) I have would require support for IRC messages of up to 4KB, so I increased

Re: [Coder-Com] Relaying long messages

2001-11-09 Thread Kev
> could anyone explain what problems can arise, if BUFSIZE is > increased? > > #define BUFSIZE 512 /* WARNING: *DONT* CHANGE THIS */ > > One application (not related to any IRC network) I have would > require support for IRC messages of up to 4KB, so I increased

Re: [Coder-Com] Relaying long messages

2001-11-09 Thread Sascha Schumann
> BUFSIZE is not to be increased on any IRC network unless all clients and > servers agree on the new value. 512 is the value specified in RFC 1459. > IRC servers that use a smaller value will drop parameters; IRC clients > with a smaller value than their server could be crashed, depending on the

Re: [Coder-Com] Relaying long messages

2001-11-09 Thread Kev
> After crashing the server a couple of times, I have found > that increasing the send-/user-/servbuf-sizes in send.[ch] > from 2048 to 8192 seems to make it work. I'm not sure > whether dbuf.c's DBUF_SIZE needs to be increased as well. > Your guidance on this issue is appreci