enlarge receive buffer considerably
the tiny buffer makes no sense in the face of huge payloads and now additionally masses of replies from pipelined commands.
This commit is contained in:
parent
256a147945
commit
ae85e455d3
|
@ -104,7 +104,7 @@ typedef struct {
|
||||||
int offset; /* start of filled bytes in buffer */
|
int offset; /* start of filled bytes in buffer */
|
||||||
int bytes; /* number of filled bytes in buffer */
|
int bytes; /* number of filled bytes in buffer */
|
||||||
int scanoff; /* offset to continue scanning for newline at, relative to 'offset' */
|
int scanoff; /* offset to continue scanning for newline at, relative to 'offset' */
|
||||||
char buf[1024];
|
char buf[100000];
|
||||||
} conn_t;
|
} conn_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user