Commit graph

72 commits

Author SHA1 Message Date
Nick Krichevsky 5afa947d89 Add headercmp 2018-09-01 19:35:56 -04:00
Nick Krichevsky 0d211539f3 Modify get_all_remote_parts to read headers 2018-09-01 17:33:39 -04:00
Nick Krichevsky ec2da2168b Store the number of bytes read for the line 2018-09-01 16:53:11 -04:00
Nick Krichevsky 93ff826f67 Don't store new headers unless ones weren't available 2018-09-01 16:44:04 -04:00
Nick Krichevsky 529b86dade Write start line when found 2018-09-01 16:41:28 -04:00
Nick Krichevsky 9d5bc143a2 Implement read_line 2018-09-01 16:26:44 -04:00
Nick Krichevsky 20d04d8bd7 Add get_line_terminator to socket_helper 2018-09-01 16:26:41 -04:00
Nick Krichevsky 68f769cf97 Add headers type 2018-09-01 16:26:37 -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 69258376a9 Make http message field consts 2018-08-27 12:53:17 -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
Nick Krichevsky afd03376fe Add function to read all parts of socket 2018-08-27 10:48:28 -04:00
Nick Krichevsky cb658488c5 Add http_message 2018-08-27 10:48:21 -04:00
Nick Krichevsky d814b554d0 Add makefile 2018-08-27 10:30:27 -04:00
Nick Krichevsky 843ad7b953 Add gitignore 2018-08-27 10:24:30 -04:00