Michael Brown
95adce0ce1
Add concept of transfer metadata, to be used by UDP in order to
implement sendto()/recvfrom() equivalents.
18 years ago
Michael Brown
735e07268e
Update HTTP to use data-xfer interface.
18 years ago
Michael Brown
af3149d18e
Allow queries in GET requests
18 years ago
Michael Brown
a3695b1ff6
Placeholder for TLS insertion
18 years ago
Michael Brown
6d32f0e6e2
Changed to use the generic stream API.
18 years ago
Michael Brown
bde8878eef
Keep HTTP progress updated, and display a progress indicator during the
download
18 years ago
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
18 years ago
Michael Brown
4e3976711d
A working name resolution framework
18 years ago
Michael Brown
6c72bf13a1
Presize the download buffer when we see the Content-Length header;
this saves around 70us per received packet (which is around 50% of the
overall packet processing time).
18 years ago
Michael Brown
08da93a311
Reorder functions to more closely reflect the flow of control
18 years ago
Michael Brown
dd6d94004f
HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any
other protocol won't work at the moment.
18 years ago
Michael Brown
143d14614d
Quickly hack in DNS resolution as a proof of concept
18 years ago
Michael Brown
afa752f5fb
Protocol's get() method no longer takes ownership of the URI. HTTP is the
exception rather than the rule; we may as well keep things clean for other
protocols.
18 years ago
Michael Brown
1f92c6b3e8
Must free http on the error path; nothing else will do it
18 years ago
Michael Brown
4e20d73bb5
Gave asynchronous operations approximate POSIX signal semantics. This
will enable us to cascade async operations, which is necessary in order to
properly support DNS. (For example, an HTTP request may have to redirect
to a new location and will have to perform a new DNS lookup, so we can't
just rely on doing the name lookup at the time of parsing the initial
URL).
Anything other than HTTP is probably broken right now; I'll fix the others
up asap.
18 years ago
Michael Brown
497c3a5aad
Fixed HTTP
18 years ago
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
18 years ago
Derek Pryor
562ab6d65c
Bug fixes to the HTTP protocol code
18 years ago
Derek Pryor
0f88703019
Bug fixes to the HTTP protocol code
18 years ago
Derek Pryor
25ea34a8d7
New HTTP protocol and test code
18 years ago