Commits
- Commit:
3e8d305f1094e8fa2ee5b3f3c2a969f370e74ebf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: fmt
- Commit:
71d9d1b3a833b3b8041da66cd1bccab141d2a9fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: move listen to its own file
- Commit:
ed8cff624698690721a3e0489c3ce3dd96e1657a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: move mux to its own file; allow to specify the mux per listen
- Commit:
4ea63b457e8a1e2ee9e96e354fa90da2c7aa88e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename client -> connection
use consistently `conn' as local variable name
- Commit:
0c267caa65186aa3f93b2ec49005d6e7cb239a73
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: remove http::error, callbacks now return io::error only
Having http::error being io::error plus badrequest was just a hack.
There's no need to expose the private error type.
- Commit:
ee4be27b0ba32039999cee9968758d680f9ef341
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: remove debug logging
- Commit:
d5ea6c0a1f11baf2b351bc54290c178c5eb0d057
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: rework req parsing; handle re-entering
- Commit:
94eeacc5a3d331d18f064fe93df5209168a3d444
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: introduce a reswriter; change API accordingly
since it uses a bufio::stream it is limited to 1024 bytes of response,
an auto-resizing implementation will follow...
- Commit:
b28be21f0f8cb1d884d3831c67115e34ee16c793
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: don't chunk if it is disabled
HTTP/1.0 doesn't support chunking
- Commit:
ef30005ec7adf0836f62715267b50be8632fb877
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http: add the other methods
- Commit:
924d1172de22bbaeae45ce6cca6d1b85358f84a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
import http module
Still very WIP and the current API will be subject to changes, but
it's enough to be imported in the main tree.