src/server/daemon/sessionhandler.c

changeset 48
37a512d7b8f6
parent 47
ce9790523346
child 60
feb2f1e115c6
equal deleted inserted replaced
47:ce9790523346 48:37a512d7b8f6
193 buf->maxsize - buf->pos); 193 buf->maxsize - buf->pos);
194 if(r == -1) { 194 if(r == -1) {
195 event->finish = evt_request_error; 195 event->finish = evt_request_error;
196 return 0; 196 return 0;
197 } 197 }
198 //fwrite(buf->inbuf + buf->pos, 1, r, stdout);
199 //printf("\n");
198 200
199 buf->cursize += r; 201 buf->cursize += r;
200 state = http_parser_process(parser); 202 state = http_parser_process(parser);
201 if(state == 2) { 203 if(state == 2) {
202 // parse error 204 // parse error

mercurial