handle large writes in ap_rputs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2022-06-01 12:33:53 +00:00
parent 92499e2003
commit ea2c3409f6
2 changed files with 24 additions and 1 deletions

View File

@ -2064,6 +2064,9 @@ AP_DECLARE(int) ap_rputc(int c, request_rec *r)
AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r)
{
if (nbyte < 0)
return -1;
if (r->connection->aborted)
return -1;