mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
This commit is contained in:
commit
82eea0efc9
5 changed files with 80 additions and 8 deletions
|
@ -1590,10 +1590,10 @@ int fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int l
|
|||
memcpy(req->out_pos, str, len);
|
||||
req->out_pos += len;
|
||||
} else if (len - limit < (int)(sizeof(req->out_buf) - sizeof(fcgi_header))) {
|
||||
if (!req->out_hdr) {
|
||||
open_packet(req, type);
|
||||
}
|
||||
if (limit > 0) {
|
||||
if (!req->out_hdr) {
|
||||
open_packet(req, type);
|
||||
}
|
||||
memcpy(req->out_pos, str, limit);
|
||||
req->out_pos += limit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue