Changeset fc3d4fd5 in mainline for uspace/lib/http/src/http.c


Ignore:
Timestamp:
2017-09-06T22:16:31Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12dcd5f
Parents:
d14840d
Message:

Downloader should properly clean up HTTP connection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/http/src/http.c

    rd14840d rfc3d4fd5  
    121121       
    122122        tcp_conn_destroy(http->conn);
     123        http->conn = NULL;
    123124        tcp_destroy(http->tcp);
     125        http->tcp = NULL;
     126       
    124127        return EOK;
    125128}
     
    127130void http_destroy(http_t *http)
    128131{
     132        (void) http_close(http);
    129133        recv_buffer_fini(&http->recv_buffer);
    130134        free(http);
Note: See TracChangeset for help on using the changeset viewer.