projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed outoing packet queue handling bug on very high load.
[silc.git]
/
lib
/
silcclient
/
client.c
diff --git
a/lib/silcclient/client.c
b/lib/silcclient/client.c
index 3e33cd93e53b1b218c885b76a3e8144afb20fb2d..7fc3b8d4c0d6acba4a8eb513f25d1ba86c9deef9 100644
(file)
--- a/
lib/silcclient/client.c
+++ b/
lib/silcclient/client.c
@@
-768,9
+768,6
@@
SILC_TASK_CALLBACK_GLOBAL(silc_client_packet_process)
if (SILC_IS_DISCONNECTED(sock))
return;
if (SILC_IS_DISCONNECTED(sock))
return;
- if (sock->outbuf->data - sock->outbuf->head)
- silc_buffer_push(sock->outbuf, sock->outbuf->data - sock->outbuf->head);
-
ret = silc_packet_send(sock, TRUE);
/* If returned -2 could not write to connection now, will do
ret = silc_packet_send(sock, TRUE);
/* If returned -2 could not write to connection now, will do