Changes in / [ab19567:dd7b931]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.c

    rab19567 rdd7b931  
    329329       
    330330        /* Turns out writing a proper chunked-encoding state machine is not
    331            that simple. :-( I've tested this one feeding it byte by byte so
    332            I hope it's solid now. */
     331           that simple. :-( */
    333332        chunk = req->cbuf;
    334333        eos = req->cbuf + req->cblen;
     
    359358                        return CR_EOF;
    360359               
    361                 /* Wait for the whole chunk to arrive. */
    362360                if( s + clen > eos )
    363361                        break;
     
    647645                g_free( req->request );
    648646                g_free( req->reply_headers );
    649                 g_free( req->sbuf );
    650647                req->request = new_request;
    651648                req->request_length = strlen( new_request );
    652649                req->bytes_read = req->bytes_written = req->inpa = 0;
    653650                req->reply_headers = req->reply_body = NULL;
    654                 req->sbuf = req->cbuf = NULL;
    655                 req->sblen = req->cblen = 0;
    656651               
    657652                return FALSE;
Note: See TracChangeset for help on using the changeset viewer.