projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increased read buffer size to 64K
[silc.git]
/
lib
/
silccore
/
silcpacket.c
diff --git
a/lib/silccore/silcpacket.c
b/lib/silccore/silcpacket.c
index 89e12a476a31a2b588c79a792021eb6c21f3f657..021041b03c9441e8f6e71531a1f83e6ae19f0c6a 100644
(file)
--- a/
lib/silccore/silcpacket.c
+++ b/
lib/silccore/silcpacket.c
@@
-306,7
+306,7
@@
static inline SilcBool silc_packet_stream_read(SilcPacketStream ps,
inbuf = silc_dlist_get(ps->sc->inbufs);
if (!inbuf) {
/* Allocate new data input buffer */
inbuf = silc_dlist_get(ps->sc->inbufs);
if (!inbuf) {
/* Allocate new data input buffer */
- inbuf = silc_buffer_alloc(SILC_PACKET_DEFAULT_SIZE * 6
1
);
+ inbuf = silc_buffer_alloc(SILC_PACKET_DEFAULT_SIZE * 6
5
);
if (!inbuf) {
silc_mutex_unlock(ps->lock);
return FALSE;
if (!inbuf) {
silc_mutex_unlock(ps->lock);
return FALSE;
@@
-716,7
+716,7
@@
SilcPacketStream silc_packet_stream_create(SilcPacketEngine engine,
ps->sc->schedule = schedule;
/* Allocate data input buffer */
ps->sc->schedule = schedule;
/* Allocate data input buffer */
- inbuf = silc_buffer_alloc(SILC_PACKET_DEFAULT_SIZE * 6
1
);
+ inbuf = silc_buffer_alloc(SILC_PACKET_DEFAULT_SIZE * 6
5
);
if (!inbuf) {
silc_free(ps->sc);
ps->sc = NULL;
if (!inbuf) {
silc_free(ps->sc);
ps->sc = NULL;