src/server/util/io.h

branch
webdav
changeset 337
d934c2eb6a76
parent 336
fb75473fecca
child 354
017eda1be105
equal deleted inserted replaced
336:fb75473fecca 337:d934c2eb6a76
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 /*

mercurial