diff options
| author | Alexander Barton <alex@barton.de> | 2020-05-01 23:55:28 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2020-05-04 00:46:56 +0200 |
| commit | 54fac576030d7aaf8bce4a982c880fe18680741e (patch) | |
| tree | 7715b4df4c1ffecb7161f0999422af77af11c65a /src/testsuite/start-server3 | |
| parent | 9f05f5ee61d23292d55edef09439c38936b86037 (diff) | |
| download | ngircd-54fac576030d7aaf8bce4a982c880fe18680741e.tar.gz ngircd-54fac576030d7aaf8bce4a982c880fe18680741e.zip | |
Handle commands in the read buffer before reading more data
If there are more bytes in the read buffer already than a single valid IRC command can get long (513 bytes, COMMAND_LEN), wait for this/those command(s) to be handled first and don't try to read even more data from the network (which most probably would overflow the read buffer of this connection soon).
Diffstat (limited to 'src/testsuite/start-server3')
0 files changed, 0 insertions, 0 deletions