5 ms·
Yes, there are some pieces missing that are on my radar like chunked support, uri/query parsing and sendfile.
by jeremycw 7y ago
Yes, there are some pieces missing that are on my radar like chunked support, uri/query parsing and sendfile.
- numlock86 7y ago> [...] some pieces missing that are on my radar like chunked support, uri/query parsing and sendfile I like the idea. Keep it up. The "some things" that are missing are really the basics of any HTTP server. Now it's more like something you could build a minimal REST API on. (With the need of a "real" server as proxy)
- jeremycw 7y agoThe goal is definitely not to replace NGINX or Apache or the like. I don't see handling TLS ever being a goal of this project, same with HTTP2 support. Although allowing the user to plug something in to handle HTTPS may not be out of the question.
- numlock86 7y agoThen I'd actually consider renaming your project to better transport your target scope. What you have in mind more sounds like a minimal library for writing non blocking REST APIs or HTTP based handlers, and not (full featured, as usually expected) HTTP servers. I really like it, though.
- namibj 7y agoSpeaking of sendfile: take a look at io_uring, considering the asynchronous nature of this.