mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #60146 (Last 2 lines of page not being output)
This commit is contained in:
parent
7002ec3723
commit
091f279eb0
2 changed files with 2 additions and 1 deletions
|
@ -1579,7 +1579,7 @@ static size_t php_cli_server_client_send_through(php_cli_server_client *client,
|
|||
ssize_t nbytes_sent = send(client->sock, str + str_len - nbytes_left, nbytes_left, 0);
|
||||
if (nbytes_sent < 0) {
|
||||
int err = php_socket_errno();
|
||||
if (err == EAGAIN) {
|
||||
if (err == SOCK_EAGAIN) {
|
||||
int nfds = php_pollfd_for(client->sock, POLLOUT, &tv);
|
||||
if (nfds > 0) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue