aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* frame: settings: add Frame::Settings.acktopic/refactor-for-0.3Kazuki Yamaguchi2016-05-085-7/+13
| | | | This is equivalent to Frame::Settings.new(:ack).
* fixup! frame: create subclasses for each frame typeKazuki Yamaguchi2016-05-081-28/+32
|
* avoid Frame#type if possibleKazuki Yamaguchi2016-05-083-33/+23
| | | | For typo-safety.
* client: decoders: unfreeze Client::Decoders::DECODERSKazuki Yamaguchi2016-05-081-1/+1
| | | | User may add custom decoders.
* frame: create subclasses for each frame typeKazuki Yamaguchi2016-05-0831-317/+445
| | | | This improves code readability.
* merge *_{utils,factory}Kazuki Yamaguchi2016-05-088-236/+195
| | | | This improves readability a bit.
* Merge branch 'topic/rack-fix-tls-listener'Kazuki Yamaguchi2016-05-081-4/+2
|\ | | | | | | | | * topic/rack-fix-tls-listener: rack: tls_listener: fix certificate extensions
| * rack: tls_listener: fix certificate extensionstopic/rack-fix-tls-listenerKazuki Yamaguchi2016-05-081-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 Yamaguchi2016-05-082-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.0Kazuki Yamaguchi2016-05-081-3/+5
| | | | | | | | | | | | Same as the previous commit.
| * | rack/listener: tls: call tmp_ecdh_callback only when neededKazuki Yamaguchi2016-05-081-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 Yamaguchi2016-05-0827-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-styleKazuki Yamaguchi2016-05-089-41/+34
| | | | | | | | Use $! when rescuing StandardError.
| * style: prefer '{ |x|' to '{|x|'Kazuki Yamaguchi2016-05-0818-81/+81
| |
| * readme: add newlinesKazuki Yamaguchi2016-05-081-14/+31
| | | | | | | | Some Markdown parsers requires a new line after header.
| * gitignore: remove unneeded thingsKazuki Yamaguchi2016-05-081-10/+5
|/
* Merge branch 'topic/client-redesign-api'Kazuki Yamaguchi2016-05-089-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 serverKazuki Yamaguchi2016-05-081-8/+4
| |
| * readme/example: replace obsolete Client#[http-method]! examplestopic/client-redesign-apiKazuki Yamaguchi2016-05-082-7/+9
| | | | | | | | | | They are gone. Instead, replace these examples with new Reponse#join methods.
| * client: add Response#join methodKazuki Yamaguchi2016-05-086-15/+49
| | | | | | | | This method waits until the response completes.
| * client: call the block passed to Client#request in Response#set_headersKazuki Yamaguchi2016-05-084-12/+35
| | | | | | | | This reduces code lines.
| * client: make Response's internal methods privateKazuki Yamaguchi2016-05-084-48/+46
| | | | | | | | | | And use Object#send to call them. Since they are internal, there should be no problem.
| * client: Client#resume always waits all requestsKazuki Yamaguchi2016-05-082-11/+4
| |
| * client: remove synchronous HTTP method methodsKazuki Yamaguchi2016-05-082-44/+0
| | | | | | | | Using them is a bad habit.
| * client: OpenSSL::SSL::SSLContext always responds to hostname=Kazuki Yamaguchi2016-05-081-2/+4
| | | | | | | | OpenSSL supports SNI since 0.9.8f and 1.0.0.
| * client: replace 'scheme' option with 'https' optionKazuki Yamaguchi2016-05-083-7/+7
| | | | | | | | The scheme is always 'http' or 'https', so boolean is sufficient.
| * client: remove http2 (enable or disable HTTP/2) optionKazuki Yamaguchi2016-05-082-22/+7
| |
* | Merge branch 'topic/fix-magic-comment-style'Kazuki Yamaguchi2016-05-0842-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-styleKazuki Yamaguchi2016-05-0842-42/+84
|/ | | | It was required when they were added, but it is no longer.
* circle: Ruby 2.3.1Kazuki Yamaguchi2016-04-281-2/+2
|
* travis/circle: OpenSSL 1.0.2gKazuki Yamaguchi2016-04-212-2/+2
|
* avoid verbose warningsKazuki Yamaguchi2016-04-218-11/+9
|
* travis/circle: openssl 1.0.2fKazuki Yamaguchi2016-02-162-2/+2
|
* rack: on mingw64 Errno::ECONNABORTED raised when closed by remoteKazuki Yamaguchi2016-02-161-3/+3
|
* test: fix error on mingw64Kazuki Yamaguchi2016-02-161-2/+6
|
* bump version to 0.2.10v0.2.10Kazuki Yamaguchi2016-01-171-1/+1
|
* stream: fix Stream Dependency field handlingKazuki Yamaguchi2016-01-172-4/+4
|
* rack: fix legacy-fallbackKazuki Yamaguchi2016-01-174-6/+8
|
* rack: remove threaded option. use threadpool_size=1 insteadKazuki Yamaguchi2016-01-146-15/+5
|
* rack/handler: add Threads options to specify threadpool_sizeKazuki Yamaguchi2016-01-141-4/+7
|
* codeclimate: ignore examplesKazuki Yamaguchi2016-01-141-0/+2
|
* bump version to 0.2.9v0.2.9Kazuki Yamaguchi2016-01-141-1/+1
|
* Merge branch 'threaded'Kazuki Yamaguchi2016-01-149-90/+184
|\
| * rack: remove unused codethreadedKazuki Yamaguchi2016-01-141-20/+0
| |
| * rack: refactorKazuki Yamaguchi2016-01-146-116/+148
| |
| * rack: add threadpool-size optionKazuki Yamaguchi2016-01-137-10/+92
| |
* | bin/plum: unshift $:Kazuki Yamaguchi2016-01-131-1/+1
|/
* bump version to 0.2.8; no changes from 0.2.3v0.2.8Kazuki Yamaguchi2016-01-031-1/+1
|
* bump version to 0.2.3v0.2.3Kazuki Yamaguchi2016-01-031-1/+1
|
* test: use SimpleCov.formatters=Kazuki Yamaguchi2016-01-032-3/+1
|