Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples/static_server: call ctx.tmp_ecdh_callback only when neededtopic/openssl-1.1.0 | Kazuki Yamaguchi | 2016-05-08 | 1 | -3/+5 |
| | | | | Same as the previous commit. | ||||
* | rack/listener: tls: call tmp_ecdh_callback only when needed | Kazuki Yamaguchi | 2016-05-08 | 1 | -1/+3 |
| | | | | | | | | OpenSSL::SSL::SSLContext#tmp_ecdh_callback will be removed and probably OpenSSL::SSL::SSLContext#set_ecdh_curves will be added. If using OpenSSL 1.0.2 or 1.1.0 (is required), it has 'default supported curves' so we don't need to set the curve to use explicitly. | ||||
* | Merge branch 'topic/client-redesign-api' | Kazuki Yamaguchi | 2016-05-08 | 9 | -168/+157 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * topic/client-redesign-api: readme: fix the flow chart showing how it connects to the server readme/example: replace obsolete Client#[http-method]! examples client: add Response#join method client: call the block passed to Client#request in Response#set_headers client: make Response's internal methods private client: Client#resume always waits all requests client: remove synchronous HTTP method methods client: OpenSSL::SSL::SSLContext always responds to hostname= client: replace 'scheme' option with 'https' option client: remove http2 (enable or disable HTTP/2) option | ||||
| * | readme: fix the flow chart showing how it connects to the server | Kazuki Yamaguchi | 2016-05-08 | 1 | -8/+4 |
| | | |||||
| * | readme/example: replace obsolete Client#[http-method]! examplestopic/client-redesign-api | Kazuki Yamaguchi | 2016-05-08 | 2 | -7/+9 |
| | | | | | | | | | | They are gone. Instead, replace these examples with new Reponse#join methods. | ||||
| * | client: add Response#join method | Kazuki Yamaguchi | 2016-05-08 | 6 | -15/+49 |
| | | | | | | | | This method waits until the response completes. | ||||
| * | client: call the block passed to Client#request in Response#set_headers | Kazuki Yamaguchi | 2016-05-08 | 4 | -12/+35 |
| | | | | | | | | This reduces code lines. | ||||
| * | client: make Response's internal methods private | Kazuki Yamaguchi | 2016-05-08 | 4 | -48/+46 |
| | | | | | | | | | | And use Object#send to call them. Since they are internal, there should be no problem. | ||||
| * | client: Client#resume always waits all requests | Kazuki Yamaguchi | 2016-05-08 | 2 | -11/+4 |
| | | |||||
| * | client: remove synchronous HTTP method methods | Kazuki Yamaguchi | 2016-05-08 | 2 | -44/+0 |
| | | | | | | | | Using them is a bad habit. | ||||
| * | client: OpenSSL::SSL::SSLContext always responds to hostname= | Kazuki Yamaguchi | 2016-05-08 | 1 | -2/+4 |
| | | | | | | | | OpenSSL supports SNI since 0.9.8f and 1.0.0. | ||||
| * | client: replace 'scheme' option with 'https' option | Kazuki Yamaguchi | 2016-05-08 | 3 | -7/+7 |
| | | | | | | | | The scheme is always 'http' or 'https', so boolean is sufficient. | ||||
| * | client: remove http2 (enable or disable HTTP/2) option | Kazuki Yamaguchi | 2016-05-08 | 2 | -22/+7 |
| | | |||||
* | | Merge branch 'topic/fix-magic-comment-style' | Kazuki Yamaguchi | 2016-05-08 | 42 | -42/+84 |
|\ \ | |/ |/| | | | | | * topic/fix-magic-comment-style: get rid of '-*- flag: value -*-' style in magic comments | ||||
| * | get rid of '-*- flag: value -*-' style in magic commentstopic/fix-magic-comment-style | Kazuki Yamaguchi | 2016-05-08 | 42 | -42/+84 |
|/ | | | | It was required when they were added, but it is no longer. | ||||
* | circle: Ruby 2.3.1 | Kazuki Yamaguchi | 2016-04-28 | 1 | -2/+2 |
| | |||||
* | travis/circle: OpenSSL 1.0.2g | Kazuki Yamaguchi | 2016-04-21 | 2 | -2/+2 |
| | |||||
* | avoid verbose warnings | Kazuki Yamaguchi | 2016-04-21 | 8 | -11/+9 |
| | |||||
* | travis/circle: openssl 1.0.2f | Kazuki Yamaguchi | 2016-02-16 | 2 | -2/+2 |
| | |||||
* | rack: on mingw64 Errno::ECONNABORTED raised when closed by remote | Kazuki Yamaguchi | 2016-02-16 | 1 | -3/+3 |
| | |||||
* | test: fix error on mingw64 | Kazuki Yamaguchi | 2016-02-16 | 1 | -2/+6 |
| | |||||
* | bump version to 0.2.10v0.2.10 | Kazuki Yamaguchi | 2016-01-17 | 1 | -1/+1 |
| | |||||
* | stream: fix Stream Dependency field handling | Kazuki Yamaguchi | 2016-01-17 | 2 | -4/+4 |
| | |||||
* | rack: fix legacy-fallback | Kazuki Yamaguchi | 2016-01-17 | 4 | -6/+8 |
| | |||||
* | rack: remove threaded option. use threadpool_size=1 instead | Kazuki Yamaguchi | 2016-01-14 | 6 | -15/+5 |
| | |||||
* | rack/handler: add Threads options to specify threadpool_size | Kazuki Yamaguchi | 2016-01-14 | 1 | -4/+7 |
| | |||||
* | codeclimate: ignore examples | Kazuki Yamaguchi | 2016-01-14 | 1 | -0/+2 |
| | |||||
* | bump version to 0.2.9v0.2.9 | Kazuki Yamaguchi | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | Merge branch 'threaded' | Kazuki Yamaguchi | 2016-01-14 | 9 | -90/+184 |
|\ | |||||
| * | rack: remove unused codethreaded | Kazuki Yamaguchi | 2016-01-14 | 1 | -20/+0 |
| | | |||||
| * | rack: refactor | Kazuki Yamaguchi | 2016-01-14 | 6 | -116/+148 |
| | | |||||
| * | rack: add threadpool-size option | Kazuki Yamaguchi | 2016-01-13 | 7 | -10/+92 |
| | | |||||
* | | bin/plum: unshift $: | Kazuki Yamaguchi | 2016-01-13 | 1 | -1/+1 |
|/ | |||||
* | bump version to 0.2.8; no changes from 0.2.3v0.2.8 | Kazuki Yamaguchi | 2016-01-03 | 1 | -1/+1 |
| | |||||
* | bump version to 0.2.3v0.2.3 | Kazuki Yamaguchi | 2016-01-03 | 1 | -1/+1 |
| | |||||
* | test: use SimpleCov.formatters= | Kazuki Yamaguchi | 2016-01-03 | 2 | -3/+1 |
| | |||||
* | drop Ruby 2.2 support | Kazuki Yamaguchi | 2015-12-18 | 11 | -39/+35 |
| | |||||
* | client: remove NPN support (Ruby 2.3.0 will be released soon) | Kazuki Yamaguchi | 2015-12-18 | 3 | -11/+4 |
| | |||||
* | refactor | Kazuki Yamaguchi | 2015-12-18 | 1 | -26/+32 |
| | |||||
* | rack: tls_session: generate dummy cert with SHA-256 | Kazuki Yamaguchi | 2015-12-18 | 1 | -5/+4 |
| | |||||
* | rack/tls_listener: fix ArgumentError (TODO: why?) | Kazuki Yamaguchi | 2015-11-16 | 1 | -1/+1 |
| | |||||
* | rack: add option to drop privileges | Kazuki Yamaguchi | 2015-11-16 | 3 | -0/+33 |
| | |||||
* | rack/tls_listener: sni | Kazuki Yamaguchi | 2015-11-16 | 2 | -8/+37 |
| | |||||
* | server/connection: reorganize subclasses | Kazuki Yamaguchi | 2015-11-16 | 12 | -37/+27 |
| | | | | | * HTTPSServerConnection is renamed to SSLSocketServerConnection * HTTPServerConnection now accepts writer Proc (Method) instead of IO | ||||
* | stream: don't raise LocalStreamError when received RST_STREAM but callback ↵ | Kazuki Yamaguchi | 2015-11-16 | 6 | -17/+14 |
| | | | | :rst_stream | ||||
* | bump version to 0.2.2v0.2.2 | Kazuki Yamaguchi | 2015-11-15 | 1 | -1/+1 |
| | |||||
* | rack: add fallback-legacy option (fallback to backend HTTP/1.x server if ↵ | Kazuki Yamaguchi | 2015-11-15 | 7 | -42/+102 |
| | | | | client doesn't support HTTP/2) | ||||
* | rack/session: don't remove x- | Kazuki Yamaguchi | 2015-11-15 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' of github.com:rhenium/plum | Kazuki Yamaguchi | 2015-11-15 | 1 | -0/+1 |
|\ | |||||
| * | rack/session: pass HTTP_VERSION=HTTP/2.0 to request env (Rack::CommonLogger ↵ | Kazuki Yamaguchi | 2015-11-13 | 1 | -0/+1 |
| | | | | | | | | uses) |