109 /* |
109 /* |
110 * read buffer (used only with chunked transfer encoding) |
110 * read buffer (used only with chunked transfer encoding) |
111 */ |
111 */ |
112 char *readbuf; |
112 char *readbuf; |
113 /* |
113 /* |
114 * readbuf size |
114 * readbuf allocated size |
115 */ |
115 */ |
116 size_t bufsize; // allocated buffer size |
116 size_t bufsize; |
117 /* |
117 /* |
118 * number of bytes currently stored in readbuf |
118 * number of bytes currently stored in readbuf |
119 */ |
119 */ |
120 int *buflen; // currently number of bytes in the buffer |
120 int *buflen; |
121 /* |
121 /* |
122 * current position in the read buffer |
122 * current position in the read buffer |
123 */ |
123 */ |
124 int *bufpos; // current buffer position |
124 int *bufpos; |
125 /* |
125 /* |
126 * current chunk_buf position |
126 * current chunk_buf position |
127 */ |
127 */ |
128 int chunk_buf_pos; |
128 int chunk_buf_pos; |
129 /* |
129 /* |