Commit Graph

  • fd0a618d34 Initial implementation of parse_request() Emil Mikulic 2003-02-28 10:39:43 +00:00
  • 3759104f07 . Added rfc1123_date() and Date: header field to default_reply() . Skeleton for parse_request() Emil Mikulic 2003-02-28 00:09:41 +00:00
  • 9074924be5 . Added MAX_REQUEST_LENGTH and a check for it in poll_recv_request() . Fixed comment DEFAULT_PORT -> bindport . "options:\n" -> "options:\n\n" Emil Mikulic 2003-02-27 23:41:44 +00:00
  • cb3342472b . default_reply() ensures reply_type is REPLY_GENERATED . Implemented poll_send_header() . Partial implementation of poll_send_file() - can't send FROMFILE yet Emil Mikulic 2003-02-27 03:58:42 +00:00
  • 23b191239e . Added to struct connection: o in_addr_t client o time last_active o {header,reply}_dont_free . Added IDLETIME and poll_check_timeout() . Added new_connection() and moved conn initialisation there . Added default_reply() . Skeleton for process_request() . connnection.request is now null-terminated . Removed debug code from poll_recv_request() Emil Mikulic 2003-02-27 03:21:36 +00:00
  • ebe1e1bfa0 . Added LIST (sys/queue.h) of struct connection . Added xmalloc() . Filled out accept_connection() . Added free_connection() . Added xrealloc() . Started poll_recv_request() . Skeletons for poll_send_header(), poll_send_reply() . Filled out httpd_poll() Emil Mikulic 2003-02-26 11:09:43 +00:00
  • 345c214212 . Added struct connection . Skeleton accept_connection() . Incomplete httpd_poll() Emil Mikulic 2003-02-21 00:53:45 +00:00
  • 7a8ff37bb3 . Changed argument --bind' -> --addr' . Implemented arg parsing for port, addr, maxconn, log, chroot . init_sockin() prints the addr:port that sockin is bound to Emil Mikulic 2003-02-20 10:31:34 +00:00
  • 79e52dfae2 . Moved pkgname, copyright to top of file to avoid having to duplicate it in the comments. . Got rid of DEFAULT_* defines in favour of initializers. . Moved existing socket creation code to init_sockin(). . Added usage(). [needs work] . Added parse_commandline() skeleton. [needs a lot of work] Emil Mikulic 2003-02-20 07:01:34 +00:00
  • 26aeb38a81 Initial revision - open and close a socket. Emil Mikulic 2003-02-20 04:25:12 +00:00