Marq Schneider
|
1b22c92d46
|
Applied patches from OpenBSD to fix addrinfo and HTTP.
Applied OpenBSD patches from Nicholas Marriott.
Closes GH-12
|
14 jaren geleden |
Richard Nyberg
|
06bd2a1a21
|
On solaris bcopy and some other useful functions are declared in strings.h.
|
16 jaren geleden |
Richard Nyberg
|
b5d78b066a
|
Make the http client independent of events and use my iobuf.
|
16 jaren geleden |
Richard Nyberg
|
340fbf4737
|
The "Host" HTTP header should be placed as early as possible and also include
the port number.
|
17 jaren geleden |
Richard Nyberg
|
1758597e3e
|
Recognize both the CRLF sequence and single LF characters as line terminators.
|
17 jaren geleden |
Richard Nyberg
|
7c2b7b656e
|
Fix problem introduced in r345. A call to http_get could cause the
callback to be called before http_get returned.
|
17 jaren geleden |
Richard Nyberg
|
771e649c41
|
Don't try to resolve the host if it is already given as an ip address.
|
17 jaren geleden |
Richard Nyberg
|
568d116335
|
Remove a couple of forgotten debug printfs.
|
18 jaren geleden |
Richard Nyberg
|
1d7b396fc7
|
Some cleanup. Use names for some numeric constants.
|
18 jaren geleden |
Richard Nyberg
|
80dcfecbe5
|
Rename callback type, add timeouts and and allow any http version in the
reply.
|
18 jaren geleden |
Richard Nyberg
|
1b7bb76fb7
|
Add a simple http client. Since it uses libevent it's a better fit for btpd
than curl.
|
18 jaren geleden |