Remove an assert.
authorTimothy B. Terriberry <tterribe@xiph.org>
Sat, 13 Oct 2012 00:57:46 +0000 (17:57 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Sat, 13 Oct 2012 00:57:46 +0000 (17:57 -0700)
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

index 9edd2d4..75460e3 100644 (file)
@@ -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.*/