alcjzk / Webserv

0 stars 0 forks source link

FD RAII Wrapper + Connection Management #31

Closed alcjzk closed 7 months ago

alcjzk commented 8 months ago

This PR implements File; a simple RAII wrapper to provide ownership semantics to file descriptors, as well as some initial work on persistent connections.

Changes

NOTE: The addition of a connection option makes the inheritance-style request architecture a little bit clunky and could surely be more readable refactored to a builder pattern, but that's outside the scope of this PR and not a current necessity/priority

TODO