ref: e88aa498b8e09d129583127aa40d6689d37a8f31
parent: 3d78feffcbbc4b2977faf2526d9cc40f8aaca16a
author: Timothy B. Terriberry <[email protected]>
date: Fri Oct 12 13:57:46 EDT 2012
Remove an assert. On the first request made by a connection, the value it was testing might be uninitialized, so we can't guarantee it'll pass.
--- a/src/http.c
+++ b/src/http.c
@@ -1989,8 +1989,6 @@
int _try_not_to_block){
opus_int64 next_end;
int ret;
- /*We can't make a new request on a connection that's reading until EOF.*/
- OP_ASSERT(_conn->end_pos>=0);
/*We shouldn't have another request outstanding.*/
OP_ASSERT(_conn->next_pos<0);
/*Build the request to send.*/