comparison src/http/modules/ngx_http_proxy_module.c @ 5206:abfe9e6e72cb stable-1.2

Fixed chunk size parsing.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 13 May 2013 13:19:28 +0400
parents 8fff74441755
children
comparison
equal deleted inserted replaced
5205:6082e0ab3d89 5206:abfe9e6e72cb
1863 ctx->length = 2 /* LF LF */; 1863 ctx->length = 2 /* LF LF */;
1864 break; 1864 break;
1865 1865
1866 } 1866 }
1867 1867
1868 if (ctx->size < 0 || ctx->length < 0) {
1869 goto invalid;
1870 }
1871
1868 return rc; 1872 return rc;
1869 1873
1870 done: 1874 done:
1871 1875
1872 return NGX_DONE; 1876 return NGX_DONE;