Tatsuhiro Tsujikawa
|
14d4979c54
|
Don't install libnghttp2_asio headers if they are disabled
|
2015-04-10 23:11:40 +09:00 |
Tatsuhiro Tsujikawa
|
8ea26fddfd
|
Fix compile error "chosen constructor is explicit in copy-initialization"
|
2015-03-14 15:54:55 +09:00 |
Tatsuhiro Tsujikawa
|
c4b487be05
|
asio: Add client::request::write_trailer()
|
2015-03-07 23:04:31 +09:00 |
Tatsuhiro Tsujikawa
|
c976a0fcd1
|
asio: Add server::response::write_trailer()
|
2015-03-07 19:26:42 +09:00 |
Tatsuhiro Tsujikawa
|
66d00954a5
|
asio: Quote ServeMux documents in http2::handle()
|
2015-03-07 03:17:13 +09:00 |
Tatsuhiro Tsujikawa
|
773b108eeb
|
asio: Add noexcept for move constructor and move assignment operator
|
2015-03-07 01:10:49 +09:00 |
Tatsuhiro Tsujikawa
|
fa21b95274
|
asio: Provide move constructor and move assignment operator to server::http2
|
2015-03-07 01:10:49 +09:00 |
Tatsuhiro Tsujikawa
|
5dccc88a7c
|
asio: Add host_service_from_uri() to extract remote address from URI
|
2015-03-07 01:10:49 +09:00 |
Tatsuhiro Tsujikawa
|
d7cfe464a2
|
asio: client::configure_tls_context takes error_code
|
2015-03-07 01:10:49 +09:00 |
Tatsuhiro Tsujikawa
|
018e9eaf6d
|
asio: Clean up server API to explicitly set error code
|
2015-03-07 01:10:49 +09:00 |
Tatsuhiro Tsujikawa
|
34ac90443f
|
asio: Rename http2::listen as http2::listen_and_serve
|
2015-03-06 01:54:28 +09:00 |
Tatsuhiro Tsujikawa
|
992c14e354
|
asio: Rename *_reader as *_generator and read_cb as generator_cb
|
2015-03-06 01:47:55 +09:00 |
Tatsuhiro Tsujikawa
|
529fc937dc
|
asio: Document public APIs
|
2015-03-06 01:41:06 +09:00 |
Tatsuhiro Tsujikawa
|
05b8d8c5b7
|
asio: Start sending response header when write_head is called
|
2015-03-06 00:06:53 +09:00 |
Tatsuhiro Tsujikawa
|
8baec366f0
|
asio: Make redirect_handler and status_handler part of public API
|
2015-03-05 23:32:21 +09:00 |
Tatsuhiro Tsujikawa
|
7f04968950
|
asio: Add dtor to API classes
|
2015-03-05 21:51:44 +09:00 |
Tatsuhiro Tsujikawa
|
e4ce595ebb
|
asio: Add serve_mux class to route incoming requet by path
serve_mux is direct port of ServeMux from go
|
2015-03-05 02:12:32 +09:00 |
Tatsuhiro Tsujikawa
|
8accf3898a
|
asio: Add client::request::resume() member function
|
2015-03-05 02:12:32 +09:00 |
Tatsuhiro Tsujikawa
|
690a1622aa
|
asio: Add const qualifier to client::session member functions
|
2015-03-05 02:12:32 +09:00 |
Tatsuhiro Tsujikawa
|
aaef798566
|
asio: Add server::response::io_service()
|
2015-03-05 02:12:32 +09:00 |
Tatsuhiro Tsujikawa
|
0753fcd6e5
|
asio: Add error_code parameter to cancel()
|
2015-03-05 02:12:32 +09:00 |
Tatsuhiro Tsujikawa
|
a14029744c
|
asio:: Add cancel() and on_close() to server::response
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
726e6c087d
|
asio: server: Move push member function to response object
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
ff0eaf8399
|
asio: Indicate EOF by passing 0 to the second parameter to data_cb
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
7fb7575f78
|
asio: read_cb: Use similar semantics with nghttp2_data_source_read_callback
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
44642af227
|
asio: Remove unused struct header
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
e7d052100c
|
asio: Utilize aggregate or value-initialization for header_value
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
fc2170e488
|
asio: Use uri_ref in server code
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
0cda2282dd
|
asio: Assign values to uri_ref directly
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
6753b6d61e
|
asio: Use header_map in server code
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
35817876fe
|
asio: Move server API to asio_http2_server.h
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
f6f908a541
|
asio: Make impl() const
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
b0c1986a46
|
asio: Avoid shared_ptr for request and response
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
062b42918c
|
asio: Remove threaded task runner
This is too complicated and not suitable for event driven server. We
plan to expose io_service instead.
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
2fa28e790d
|
asio: Separate client API to asio_http2_client.h
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
76eab3faa0
|
asio: Pass connected address to connect_cb
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
70ea774f23
|
asio: Clear up TLS peer verification
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
e15d302985
|
asio: Introduce uri_ref
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
b2196f215a
|
asio: Use boost::system::error_code for on_error callback
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
8afd75ca47
|
Make request, response const
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
0676535caf
|
Do async-resove in ctor
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
dd741a58ae
|
Use header_map instead of wrapping it
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
26304546c4
|
[WIP] Add asio client interface
|
2015-03-05 02:12:31 +09:00 |
Tatsuhiro Tsujikawa
|
b1f807abd1
|
Reformat lines with clang-format-3.5
|
2014-11-27 23:56:30 +09:00 |
Tatsuhiro Tsujikawa
|
8e30adbca0
|
asio: Add http2::backlog API function
|
2014-11-10 23:26:01 +09:00 |
Tatsuhiro Tsujikawa
|
0ef99b90d9
|
asio-lib: Make request_cb take const ref and use int64_t as http_date arg
|
2014-10-28 01:01:48 +09:00 |
Tatsuhiro Tsujikawa
|
4f0d03b4b9
|
libnghttp2_asio: Move common types and functions to nghttp2::asio_http2 ns
|
2014-09-28 16:54:00 +09:00 |
Tatsuhiro Tsujikawa
|
88d7abcc23
|
libnghttp2_asio: Add request::run_task to execute task in separate thread
|
2014-09-28 16:25:45 +09:00 |
Tatsuhiro Tsujikawa
|
c1be28684a
|
libnghttp2_asio: Add request::closed() to indicate that stream has been closed
|
2014-09-25 00:15:52 +09:00 |
Tatsuhiro Tsujikawa
|
fd07f5e142
|
src: Add utility APIs to asio_http2.h; add asio-sv2 example to serve files
|
2014-09-24 23:05:13 +09:00 |