Changeset cbfc8b7 in mainline for uspace/lib/http/src/response.c
- Timestamp:
- 2013-10-05T20:49:27Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f086417
- Parents:
- c42f50d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/http/src/response.c
rc42f50d rcbfc8b7 185 185 } 186 186 187 int http_receive_response(receive_buffer_t *rb, http_response_t **out_response) 187 int http_receive_response(receive_buffer_t *rb, http_response_t **out_response, 188 size_t max_headers_size, unsigned max_headers_count) 188 189 { 189 190 http_response_t *resp = malloc(sizeof(http_response_t)); … … 198 199 goto error; 199 200 200 rc = http_headers_receive(rb, &resp->headers); 201 rc = http_headers_receive(rb, &resp->headers, max_headers_size, 202 max_headers_count); 201 203 if (rc != EOK) 202 204 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.