Author: adrian.chadd
Date: Sun Feb 1 10:00:00 2009
New Revision: 13763
Modified:
branches/LUSCA_HEAD/src/MemBuf.c
Log:
Fiddle with the buf socket read routine a little1
Modified: branches/LUSCA_HEAD/src/MemBuf.c
==============================================================================
--- branches/LUSCA_HEAD/src/MemBuf.c (original)
+++ branches/LUSCA_HEAD/src/MemBuf.c Sun Feb 1 10:00:00 2009
@@ -6,7 +6,8 @@
int ret;
/* extend buffer to have enough space */
- buf_grow_to_min_free(b, grow_size);
+ /* XXX for now, just make it grow 4k bytes at a time */
+ buf_grow_to_min_free(b, 4096);
/* read into empty space */
ret = FD_READ_METHOD(fd, buf_buf(b) + buf_len(b), buf_capacity(b) -
buf_len(b));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---