mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Read more bytes at a time from servers.
(at most 2048 instead of 512) This should reduce syscalls and TCP packets. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4849 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d917a439da
commit
647c3cb4da
@ -146,7 +146,7 @@ int net_sendbuffer_send(NET_SENDBUF_REC *rec, const void *data, int size)
|
||||
|
||||
int net_sendbuffer_receive_line(NET_SENDBUF_REC *rec, char **str, int read_socket)
|
||||
{
|
||||
char tmpbuf[512];
|
||||
char tmpbuf[2048];
|
||||
int recvlen = 0;
|
||||
|
||||
if (read_socket)
|
||||
|
Loading…
Reference in New Issue
Block a user