diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2013-02-01 14:40:19 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-02-01 14:40:19 +0000 |
| commit | 1c5fce75186ae792b76d055223cd0a70ac7370b0 (patch) | |
| tree | 70e1a9d8723e36bb4253f82fc1648ba586c915f6 /src/mysql/ngx_mysql.c | |
| parent | e97e4124e372d2db118d984988632d28f8966130 (diff) | |
| download | nginx-1c5fce75186ae792b76d055223cd0a70ac7370b0.tar.gz nginx-1c5fce75186ae792b76d055223cd0a70ac7370b0.tar.bz2 | |
FastCGI: fixed wrong connection close with fastcgi_keep_conn.
With fastcgi_keep_conn it was possible that connection was closed after
FCGI_STDERR record with zero padding and without any further data read yet.
This happended as f->state was set to ngx_http_fastcgi_st_padding and then
"break" happened, resulting in p->length being set to f->padding, i.e. 0
(which in turn resulted in connection close).
Fix is to make sure we continue the loop after f->state is set.
Diffstat (limited to 'src/mysql/ngx_mysql.c')
0 files changed, 0 insertions, 0 deletions
