Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup projectrestart | Kazuki Yamaguchi | 2017-01-26 | 92 | -507/+306 |
| | | | | | Switch test framework, remove unnecessary files, remove unnecessary magic comments. | ||||
* | Merge branch 'topic/prepare-0.3'HEADmaster | Kazuki Yamaguchi | 2016-05-09 | 2 | -12/+34 |
|\ | | | | | | | | | | | * topic/prepare-0.3: readme: update for 0.3 bump up version to 0.3.0 | ||||
| * | readme: update for 0.3 | Kazuki Yamaguchi | 2016-05-08 | 1 | -11/+33 |
| | | |||||
| * | bump up version to 0.3.0 | Kazuki Yamaguchi | 2016-05-08 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'topic/refactor-for-0.3' | Kazuki Yamaguchi | 2016-05-08 | 42 | -479/+566 |
|\ | | | | | | | | | | | | | | | | | | | | | * topic/refactor-for-0.3: examples: static_server: use test certificate in test/ style: prefer "".b over String.new frame: settings: add Frame::Settings.ack avoid Frame#type if possible client: decoders: unfreeze Client::Decoders::DECODERS frame: create subclasses for each frame type merge *_{utils,factory} | ||||
| * | examples: static_server: use test certificate in test/ | Kazuki Yamaguchi | 2016-05-08 | 1 | -2/+2 |
| | | | | | | | | .crt.local doesn not exist in this repository. | ||||
| * | style: prefer "".b over String.new | Kazuki Yamaguchi | 2016-05-08 | 13 | -15/+15 |
| | | | | | | | | | | String.new requires a constant search and method search, while "".b requires only a method search. | ||||
| * | frame: settings: add Frame::Settings.ack | Kazuki Yamaguchi | 2016-05-08 | 5 | -7/+13 |
| | | | | | | | | This is equivalent to Frame::Settings.new(:ack). | ||||
| * | avoid Frame#type if possible | Kazuki Yamaguchi | 2016-05-08 | 3 | -33/+23 |
| | | | | | | | | For typo-safety. | ||||
| * | client: decoders: unfreeze Client::Decoders::DECODERS | Kazuki Yamaguchi | 2016-05-08 | 1 | -1/+1 |
| | | | | | | | | User may add custom decoders. | ||||
| * | frame: create subclasses for each frame type | Kazuki Yamaguchi | 2016-05-08 | 31 | -330/+462 |
| | | | | | | | | This improves code readability. | ||||
| * | merge *_{utils,factory} | Kazuki Yamaguchi | 2016-05-08 | 8 | -236/+195 |
| | | | | | | | | This improves readability a bit. | ||||
* | | Merge branch 'topic/cleanup-decoder-error' | Kazuki Yamaguchi | 2016-05-08 | 2 | -12/+5 |
|\ \ | |/ |/| | | | | | * topic/cleanup-decoder-error: client: remove inner_error attribute from DecoderError | ||||
| * | client: remove inner_error attribute from DecoderError | Kazuki Yamaguchi | 2016-05-08 | 2 | -12/+5 |
|/ | | | | Ruby >= 2.1 has Exception#cause. | ||||
* | Merge branch 'topic/rack-fix-tls-listener' | Kazuki Yamaguchi | 2016-05-08 | 1 | -4/+2 |
|\ | | | | | | | | | * topic/rack-fix-tls-listener: rack: tls_listener: fix certificate extensions | ||||
| * | rack: tls_listener: fix certificate extensionstopic/rack-fix-tls-listener | Kazuki Yamaguchi | 2016-05-08 | 1 | -4/+2 |
| | | | | | | | | | | | | Since the (dummy generated) certificate is not a CA, basicConstraints=cA:TRUE is not good. Also subjectKeyIdentifier is missing. | ||||
* | | Merge branch 'topic/openssl-1.1.0' | Kazuki Yamaguchi | 2016-05-08 | 2 | -4/+8 |
|\ \ | | | | | | | | | | | | | | | | * topic/openssl-1.1.0: examples/static_server: call ctx.tmp_ecdh_callback only when needed rack/listener: tls: call tmp_ecdh_callback only when needed | ||||
| * | | 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/fix-coding-style' | Kazuki Yamaguchi | 2016-05-08 | 27 | -146/+151 |
|\ \ | |/ |/| | | | | | | | | | | | * topic/fix-coding-style: style: use $! if possible style: prefer '{ |x|' to '{|x|' readme: add newlines gitignore: remove unneeded things | ||||
| * | style: use $! if possibletopic/fix-coding-style | Kazuki Yamaguchi | 2016-05-08 | 9 | -41/+34 |
| | | | | | | | | Use $! when rescuing StandardError. | ||||
| * | style: prefer '{ |x|' to '{|x|' | Kazuki Yamaguchi | 2016-05-08 | 18 | -81/+81 |
| | | |||||
| * | readme: add newlines | Kazuki Yamaguchi | 2016-05-08 | 1 | -14/+31 |
| | | | | | | | | Some Markdown parsers requires a new line after header. | ||||
| * | gitignore: remove unneeded things | Kazuki Yamaguchi | 2016-05-08 | 1 | -10/+5 |
|/ | |||||
* | 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 |
| |