Robert Iakobashvili made the 'master_buffer' get allocated first once it is
can/will be used as it then makes the common cases save 16KB of data for each easy handle that isn't used for pipelining.
This commit is contained in:
@@ -868,7 +868,8 @@ struct connectdata {
|
||||
struct curl_llist *recv_pipe; /* List of handles waiting to read
|
||||
their responses on this pipeline */
|
||||
|
||||
char master_buffer[BUFSIZE]; /* The master buffer for this connection. */
|
||||
char* master_buffer; /* The master buffer allocated on-demand;
|
||||
used for pipelining. */
|
||||
size_t read_pos; /* Current read position in the master buffer */
|
||||
size_t buf_len; /* Length of the buffer?? */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user