fab1c263d60ee6a08f162af2146ff0ccf6b36061 |
|
26-Feb-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: Create http-common.h, which contains global definitions shared by client and server.
Currently contains only the default HTTP port definitions that used to be
private to the client. |
21680ee5e2af010b0d776618fb38c65015cdf113 |
|
27-Dec-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-http: Only depend on iostream openssl lib if building with openssl
Fixes build without openssl |
149299c7d5136a8fb425ef3cf8953026a1358002 |
|
11-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use check-local in Makefile.am instead of overriding check directly
This helps with dependency problems, like running "make check" in
lib-storage without "make" first would try to compile the test programs
too early and fail. |
c45da70c96800ce9d84a886b163ad913e3d8ddea |
|
16-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-http: Link test-http-client libssl_iostream_openssl.so directly.
This way it can be run without having to do make install first. |
f98d562bc4d52d2e5274d6efb714640184a45cf3 |
|
20-Jun-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib-http: server: Created test program that tests error conditions.
Currently it is very limited, but it is due to be extended soon towards testing most common error conditions. |
b154be7ad172a0cc89284dc4a92599050579a3be |
|
20-Jun-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib-http: Restructured Makefile.am to have less duplicated lines for the test suite. |
03142e79fbd4dd407b54348fe7aa16c11f577663 |
|
26-May-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib-http: client: Created test program that triggers most possible error conditions. |
d5cdf90f01fe1b5a5e049f341398b2ee329b4de5 |
|
10-Feb-2016 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Created test program that tests payload exchange between client and server with various configurations.
It recursively uses all files in the current directory as payload.
It is currenrly not part of `make check', because it is a stress-testing tool that can run for a long time. |
acff3d8f00432763d57ee540f667a7df4c828bdb |
|
18-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-http: Previous test-http-client safe_memset() change broke in some systems.
Since there's no easy way to fix this in Makefile.am, just do it by actually
using safe_memset().. |
5c46ec74169e03b76ab1e55739aa5386c4f6f107 |
|
18-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-http: test-http-client may have failed to load SSL library plugin.
safe_memset() wasn't necessarily compiled into test-http-client. This is a
bit kludgy way of just adding it. Another possibility could have been to use
-Wl,--whole-archive with GNU ld, but it's a bit tricky here. |
0b5bdb5ba6c8cb928b6d2dcc4636148bfa1a7ec7 |
|
10-Sep-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Implemented HTTP auth (RFC 7235). |
ee60381fecf8d24bd7be760fc94fea8b3cb466e0 |
|
21-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lib-http: Fixed linking test programs. |
3fcb3d2d1f3583025ff62bae95ec706920f398b1 |
|
21-Jul-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Added initial support for server-side HTTP API. |
de96afeeaa5242cffe89f1966457e935806b5746 |
|
22-Nov-2013 |
Stephan Bosch <stephan@rename-it.nl> |
http-client: Changed struct http_client_host_port into a struct http_client_queue object.
Peer and request objects now reference the queue object directly rather
than the host object. This way, there is no need to find the matching
host:port in the host anymore. This makes the queueing structure more
intuitive and more efficient. This is a first step towards support for
connecting to HTTP services through unix sockets or directing requests at
specific hosts (so not from the URL). This patch also fixes a potential
timeout leak (to_connect) in http_client_host_port (now http_client_queue)
and makes sure it is moved during switch_ioloop(). Finally it updates the
structure comment at the top of http-client.c. |
34de49959c6612f519bff07ba5cd1f3ef964bb0c |
|
06-Oct-2013 |
Timo Sirainen <tss@iki.fi> |
lib-http: Fixed linking with some compilers
Inline functions in http-header.h still required linking http-header.lo with
e.g. Sun Studio |
10962368c30afde135743fd9796122e88a708e87 |
|
18-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Created tests for http_request_parser. |
e8f1e510df3ab051a816715c2056f0d10aee929e |
|
15-Sep-2013 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Unified http-request.h and http-response.h headers.
Renamed struct http_response_header to struct http_header_field,
encapsulated the array in struct http_header and put it all in
http-header.h/c Added inline utility functions for header querying and
getting response/request payload size. |
7e59e4fdc89e55399fa60b3f6d866e7029c230fe |
|
11-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
lib-http: Added a very dummy test-http-server |
b72c3363092b73cab1da2de4a9d75592e7d8fd6b |
|
11-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
lib-http: Implemented http-request-parser for HTTP servers.
Moved code common with it and http-response-parser to http-message-parser. |
1920ef85b63738a06914e56508049dd0afe38732 |
|
10-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
lib-http: Moved struct http_response* to http-response.h
Also http-client.h now #includes only http-response.h |
ec383c7840663a34033f5b1b027e7c530af564be |
|
23-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-http: Makefile fix |
49beae176b0fadb122c776bbdfa0ea789c30f47f |
|
08-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
Makefile: Removed test-http-client from "make check".
Not really a good idea to connect to remote servers (that might fail) during
a normal make check. |
905fb741e6f9a40e7721bff095c52a87110b4de3 |
|
26-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-http: Removed explicit safe-memset.lo links
At least in all my systems they just complain about duplicates.. |
216455c400f01a866198e8e615d0ab9206d3077b |
|
23-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-http: Compiler warning fixes |
7384b4e78eaab44693c985192276e31322155e32 |
|
23-Nov-2012 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Added initial HTTP client implementation. |
1bd20e2a575473f3d05499f05f1d72da59b34fd6 |
|
10-Oct-2012 |
Stephan Bosch <stephan@rename-it.nl> |
Add HTTP date parsing support. |
5394bed8aaef2a6c1c870a34a23a7824e1f370bb |
|
10-Oct-2012 |
Stephan Bosch <stephan@rename-it.nl> |
Adds HTTP URL parse support. |