Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.c

    r286cd48 rdd7b931  
    292292
    293293cleanup:
    294         /* Avoid g_source_remove warnings */
    295         req->inpa = 0;
    296 
    297294        if( req->ssl )
    298295                ssl_disconnect( req->ssl );
     
    332329       
    333330        /* Turns out writing a proper chunked-encoding state machine is not
    334            that simple. :-( I've tested this one feeding it byte by byte so
    335            I hope it's solid now. */
     331           that simple. :-( */
    336332        chunk = req->cbuf;
    337333        eos = req->cbuf + req->cblen;
     
    362358                        return CR_EOF;
    363359               
    364                 /* Wait for the whole chunk to arrive. */
    365360                if( s + clen > eos )
    366361                        break;
     
    650645                g_free( req->request );
    651646                g_free( req->reply_headers );
    652                 g_free( req->sbuf );
    653647                req->request = new_request;
    654648                req->request_length = strlen( new_request );
    655649                req->bytes_read = req->bytes_written = req->inpa = 0;
    656650                req->reply_headers = req->reply_body = NULL;
    657                 req->sbuf = req->cbuf = NULL;
    658                 req->sblen = req->cblen = 0;
    659651               
    660652                return FALSE;
Note: See TracChangeset for help on using the changeset viewer.