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; |