Commit graph

27 commits

Author SHA1 Message Date
Nick Krichevsky 85254e21cb Move get_buffer_size into buffer_helper 2018-09-09 16:48:30 -04:00
Nick Krichevsky cf1d164ec5 Rename socket_read_result to socket_result 2018-09-09 00:18:56 -04:00
Nick Krichevsky 176b9f66c8 Fix segfault when there are no headers 2018-09-08 17:47:50 -04:00
Nick Krichevsky 2f40d75385 Don't use memset for structs 2018-09-08 14:23:14 -04:00
Nick Krichevsky 62e8bbbd9f Refactor rtt calculation to only be based on connect 2018-09-07 15:31:57 -04:00
Nick Krichevsky d650fc413c Minor formatting fix 2018-09-03 20:26:14 -04:00
Nick Krichevsky e3b7dcb837 Rename get_addr_info to build_addr_info 2018-09-03 19:16:02 -04:00
Nick Krichevsky 5e4275ac5b Add basic server argparsing 2018-09-03 19:16:02 -04:00
Nick Krichevsky 83b764eb28 More error checks for strtol in client 2018-09-03 16:56:14 -04:00
Nick Krichevsky 2153f7c9b3 Remove unused imports 2018-09-03 15:04:12 -04:00
Nick Krichevsky e7a1164e44 Differentiate between client and server requests 2018-09-03 13:37:38 -04:00
Nick Krichevsky 10cff3572b Fix leaks 2018-09-03 00:33:33 -04:00
Nick Krichevsky f7d469bb00 Refactor print_rtt detection 2018-09-02 22:57:19 -04:00
Nick Krichevsky d009065c33 Add RTT printing 2018-09-02 22:46:42 -04:00
Nick Krichevsky 31a19298c3 Add support for http:// urls 2018-09-02 21:38:55 -04:00
Nick Krichevsky 28f5448b49 Add graceful handling of failed requests 2018-09-02 20:58:06 -04:00
Nick Krichevsky 475b162389 Remove debug prints 2018-09-02 15:00:18 -04:00
Nick Krichevsky 5bbda3dd24 Make content-length not buggy as hell 2018-09-02 01:26:01 -04:00
Nick Krichevsky 533f695dcb Rename http_message.h to http_types.h 2018-09-01 16:26:30 -04:00
Nick Krichevsky b89ec823b8 Free basic requests using free_basic_request 2018-08-29 18:50:23 -04:00
Nick Krichevsky e93c07a0a2 Use copied strings instead of consts for http_message 2018-08-29 18:46:49 -04:00
Nick Krichevsky eadb440bcb Fix const warning in get_parts 2018-08-29 18:24:15 -04:00
Nick Krichevsky b355ddbec3 Fix buffer overwriting error in building request 2018-08-29 18:20:47 -04:00
Nick Krichevsky 1c469ad845 Add connecting to socket 2018-08-28 00:08:03 -04:00
Nick Krichevsky 65fdb4ad69 Change port to be an int 2018-08-27 13:16:59 -04:00
Nick Krichevsky 5824b8f536 Add build_basic_request_method 2018-08-27 12:53:17 -04:00
Nick Krichevsky 19449b3f1e Add some basic argparsing 2018-08-27 12:27:59 -04:00