1257 Commits

Author SHA1 Message Date
HoneyryderChuck
02f6a71e5b remove superfluous log 2020-10-07 02:19:14 +01:00
HoneyryderChuck
7134e87b32 separated the gems by groups 2020-10-07 02:01:03 +01:00
HoneyryderChuck
a82b028c83 Merge branch 'build-request' into 'master'
HTTPX::Session#build_request

See merge request honeyryderchuck/httpx!95
2020-10-06 17:38:11 +00:00
HoneyryderChuck
b67c5d53e0 starting notes on the next minor version 2020-10-06 16:52:18 +01:00
HoneyryderChuck
978a5ffa22 promoting build_request to public API, thereby allowing users to create request objects and pass them on to #send 2020-10-06 16:24:45 +01:00
HoneyryderChuck
9f33518850 options.merge: return the same object if the one being merged is empty 2020-10-06 16:23:47 +01:00
HoneyryderChuck
7d9c5a722e added tests for build_request as public api from session 2020-10-06 16:23:18 +01:00
HoneyryderChuck
c826ad5da0 Merge branch 'blog' into 'master'
added 2 posts

See merge request honeyryderchuck/httpx!94
2020-10-05 16:10:16 +00:00
HoneyryderChuck
a6d21934c2 added 2 posts 2020-10-05 16:57:11 +01:00
HoneyryderChuck
207382d766 Merge branch 'fix-wiki' into 'master'
Fix wiki

See merge request honeyryderchuck/httpx!93
2020-10-03 10:14:56 +00:00
HoneyryderChuck
01a4122e97 moving common test settings to yaml config, do not load docker:dind everywhere 2020-10-03 11:07:06 +01:00
HoneyryderChuck
2f2d2a69b2 moving hanna-nouveau to jekyll setup, setting up different gemfile in CI 2020-10-03 11:06:51 +01:00
HoneyryderChuck
7376de2cab added missing git, for the wiki 2020-10-03 10:39:06 +01:00
HoneyryderChuck
dbbcf4acda fixed images from previous blog post 2020-10-03 10:26:15 +01:00
HoneyryderChuck
148b1b7f06 fixed coverage link 2020-10-03 10:19:01 +01:00
HoneyryderChuck
0f9256480b fixing wiki in main page 2020-10-03 01:47:13 +01:00
HoneyryderChuck
d50b6505f5 Merge branch 'issue-96' into 'master'
Merge Coverage + CI cache

See merge request honeyryderchuck/httpx!92
2020-10-02 23:38:08 +00:00
HoneyryderChuck
019b41a70c removed the nodocs 2020-10-03 00:28:17 +01:00
HoneyryderChuck
c6535772df fixed link to old class 2020-10-03 00:14:12 +01:00
HoneyryderChuck
851c33fa23 building jekyll and coverage in separate tasks 2020-10-02 19:36:49 +01:00
HoneyryderChuck
9c8adfcb55 enabling merging of coverage reports 2020-09-30 11:45:58 +01:00
HoneyryderChuck
af1437ea39 Merge branch 'blog' into 'master'
two new posts about ruby 2

See merge request honeyryderchuck/httpx!91
2020-09-06 15:19:18 +00:00
HoneyryderChuck
102738348a two new posts about ruby 2 2020-09-06 16:10:43 +01:00
HoneyryderChuck
1b234c3944 Merge branch 'blog' into 'master'
blog post about devise

See merge request honeyryderchuck/httpx!90
2020-08-15 14:45:34 +00:00
HoneyryderChuck
06012bddfb blog post about devise 2020-08-15 15:23:33 +01:00
HoneyryderChuck
e382c1d27f bumped to 0.8.2 v0.8.2 2020-05-06 14:07:10 +01:00
HoneyryderChuck
f814833406 adding extra rdoc files to ship 2020-05-06 14:01:14 +01:00
HoneyryderChuck
5ee4c98650 updating readme info 2020-05-06 14:01:01 +01:00
HoneyryderChuck
2a93eae907 use SecureRandom.gen_random, which is also supported in ruby 2.3, and is where SecureRandom.bytes defers to 2020-05-06 13:47:57 +01:00
HoneyryderChuck
94074088b8 keep_alive: close the http/2 connection if ack ping frame doesn't return the same payload as the sent ping 2020-05-06 13:47:14 +01:00
HoneyryderChuck
b9809077f5 Merge branch 'issue-89' into 'master'
Ping connection on keep alive timeout expired

See merge request honeyryderchuck/httpx!88
2020-05-06 11:38:06 +00:00
HoneyryderChuck
5a99c2f331 Merge branch 'issue-88' into 'master'
HTTP/1: connection: close when necessary.

See merge request honeyryderchuck/httpx!87
2020-05-06 08:50:16 +00:00
HoneyryderChuck
f2cdcd89cd Merge branch 'require-resolvers' into 'master'
require resolvers instead of autoloading

See merge request honeyryderchuck/httpx!89
2020-05-05 23:36:38 +00:00
HoneyryderChuck
4dadbfe534 require resolvers instead of autoloading; we ain't saving that much by autoloading them, and there is a thread-safety penalty manifesting from time to time in the CI, when initiating the resolver and the initialize method isn't there yet 2020-05-04 10:58:29 +01:00
HoneyryderChuck
ecf0960d06 mocking ping behaviour in HTTP/1, as: just admit defeat and open a new connection. There is no reliable way to ping an HTTP/1 connection without fully buffering a request 2020-05-03 16:29:37 +01:00
HoneyryderChuck
bb310dc106 making the connection ping when keep alive timeout is exceeded; this way if the connection is still available, it's reused 2020-05-03 16:28:58 +01:00
HoneyryderChuck
754bb6b5ed Merge branch 'issue-86' into 'master'
:compression_threshold_size

Closes #86

See merge request honeyryderchuck/httpx!86
2020-04-28 10:32:45 +00:00
HoneyryderChuck
1072d7f3ca Merge branch 'issue-87' into 'master'
:expect_threshold_size

Closes #87

See merge request honeyryderchuck/httpx!85
2020-04-28 10:32:13 +00:00
HoneyryderChuck
5dee4497bf added support for connection: close, by:
* sending info on whether the session is in persistent mode to the
request;
* on parser, set keep-alive when persistent, at all times;
* when not persistent, set keep-alive on all requests til the last;
* on error recovery, when resetting to 1 request at a time, still keep
alive to all requests til the last;
* on next error recovery, set connection: close
2020-04-27 01:38:11 +01:00
HoneyryderChuck
7c08527cb9 added support for :compression_threshold_size, in order to bypass compression when not worth it 2020-04-27 00:13:51 +01:00
HoneyryderChuck
93a4b933af added support for :expect_threshold_size, to disable expect: 100-continue based on body bytesize sent 2020-04-26 23:52:14 +01:00
HoneyryderChuck
8df9b06cd0 bumped to 0.8.1 v0.8.1 2020-04-23 23:41:39 +01:00
HoneyryderChuck
74f6c0ae03 Merge branch 'issue-93' into 'master'
fix interest calculation on HTTP/2 handshake

Closes #93

See merge request honeyryderchuck/httpx!84
2020-04-23 13:34:44 +00:00
HoneyryderChuck
88d04bd4ff refain from logging when there weren't any bytes read 2020-04-23 12:04:21 +01:00
HoneyryderChuck
7f7a44b1b4 headers: join field values was missing a whitespace, which was breaking option comparison, which was breaking connection reuse 2020-04-23 12:04:21 +01:00
HoneyryderChuck
2f94004d8f do not let loop indefinitely if ctrl-c is called when looping in the selector 2020-04-23 10:31:39 +01:00
HoneyryderChuck
d29557ef95 fix: when the HTTP/2 connection is in the handshake phase, there might be frames to send 2020-04-23 10:26:23 +01:00
HoneyryderChuck
25c717d29e added missing change to changelog from 0.8.0 2020-04-23 10:25:08 +01:00
HoneyryderChuck
53710aaf37 bump to 0.8.0 v0.8.0 2020-04-23 01:16:15 +01:00
HoneyryderChuck
7aa622c28e Merge branch 'issue-90' into 'master'
Reducing loop/select calls

See merge request honeyryderchuck/httpx!83
2020-04-22 23:53:13 +00:00