599 |
599 |
600 return r; |
600 return r; |
601 } |
601 } |
602 |
602 |
603 int nsapi_finish_request(NSAPISession *sn, NSAPIRequest *rq) { |
603 int nsapi_finish_request(NSAPISession *sn, NSAPIRequest *rq) { |
|
604 rq->finished = TRUE; |
604 request_free_resources(sn, rq); |
605 request_free_resources(sn, rq); |
605 |
606 |
606 WSBool read_stream_eof = httpstream_eof(sn->sn.csd); |
607 WSBool read_stream_eof = httpstream_eof(sn->sn.csd); |
607 if(!read_stream_eof) { |
608 if(!read_stream_eof) { |
608 log_ereport(LOG_WARN, "request input stream not closed"); |
609 log_ereport(LOG_WARN, "request input stream not closed"); |