From e88aa498b8e09d129583127aa40d6689d37a8f31 Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" Date: Fri, 12 Oct 2012 17:57:46 -0700 Subject: [PATCH] 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. --- src/http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/http.c b/src/http.c index 9edd2d4..75460e3 100644 --- a/src/http.c +++ b/src/http.c @@ -1989,8 +1989,6 @@ static int op_http_conn_send_request(OpusHTTPStream *_stream, 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.*/ -- GitLab