ref: 756c4c0b0c4fdf7e0d085a7a00d626f82aa79c80
parent: f83266d98d8301a6cbbcf0ca8119090d2c145572
author: Timothy B. Terriberry <[email protected]>
date: Sat Oct 20 05:14:21 EDT 2012
Fix op_http_parse_connection(). We were computing the return value correctly, but then not returning it.
--- a/src/http.c
+++ b/src/http.c
@@ -1270,7 +1270,7 @@
if(d<=0)break;
_cdr+=d;
}
- return OP_UNLIKELY(*_cdr!='\0')?OP_FALSE:0;
+ return OP_UNLIKELY(*_cdr!='\0')?OP_FALSE:ret;
}
typedef int (*op_ssl_step_func)(SSL *_ssl_conn);