src/server/webdav/webdav.c

changeset 51
b28cf69f42e8
parent 50
4d39adda7a38
child 56
c6cf20b09043
equal deleted inserted replaced
50:4d39adda7a38 51:b28cf69f42e8
316 pblock_nninsert("content-length", davrq->out->length, rq->srvhdrs); 316 pblock_nninsert("content-length", davrq->out->length, rq->srvhdrs);
317 317
318 //pblock_nvinsert("connection", "close", rq->srvhdrs); 318 //pblock_nvinsert("connection", "close", rq->srvhdrs);
319 http_start_response(sn, rq); 319 http_start_response(sn, rq);
320 320
321 net_write(sn->csd, davrq->out->ptr, davrq->out->length); 321 //printf("%s\n", davrq->out->ptr);
322 ssize_t nr = net_write(sn->csd, davrq->out->ptr, davrq->out->length);
323 //printf("net_write returned: %d\n", r);
322 324
323 325
324 dav_free_propfind(davrq); 326 dav_free_propfind(davrq);
325 327
326 return REQ_PROCEED; 328 return REQ_PROCEED;

mercurial