• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

igrigorik / http-2 / 266
97%

Build:
DEFAULT BRANCH: master
Ran 27 Dec 2017 05:01PM UTC
Jobs 6
Files 21
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
266

push

travis-ci

igrigorik
<a href="https://github.com/igrigorik/http-2/commit/<a class=hub.com/igrigorik/http-2/commit/<a class="double-link" href="https://git"><a class=hub.com/igrigorik/http-2/commit/<a class="double-link" href="https://git"><a class=hub.com/igrigorik/http-2/commit/<a class="double-link" href="https://git"><a class=hub.com/igrigorik/http-2/commit/a4a6087c3ae7f755f79568840bdb414f5603e56c">a4a6087c3<a href="https://github.com/igrigorik/http-2/commit/a4a6087c3ae7f755f79568840bdb414f5603e56c">&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/igrigorik/http-2/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/igrigorik/http-2/commit/&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://git&quot;&gt;&amp;lt;a class=&lt;/a&gt;hub.com/igrigorik/http-2/commit/a4a6087c3ae7f755f79568840bdb414f5603e56c&quot;&gt;a4a6087c3&lt;/a&gt;&lt;a href=&quot;https://github.com/igrigorik/http-2/commit/a4a6087c3ae7f755f79568840bdb414f5603e56c&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/igrigorik/http-2/commit/a4a6087c3ae7f755f79568840bdb414f5603e56c&amp;quot;&amp;gt;&amp;amp;quot;&amp;amp;gt;fixed window update by adding receive window control (#107)

Implemented new receive window strategy: receiver keeps track of the size of DATA payload received and when this goes above half of the local window, the receiver issues a WINDOW_UPDATE with the receiver window as increment. This removes the flood of control frames (window_update&amp;amp;amp;#39;s) for small data frames.

Inspiration:  https://github.com/nghttp2/nghttp2/blob/&amp;lt;/a&amp;gt;&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://github.com/igrigorik/http-2/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/igrigorik/http-2/commit/<a class="double-link" href="https://github.com/igrigorik/http-2/commit/2bf3680d870953010d7e1e6e4a66510f8458cc3c">2bf3680d8</a>&quot;&gt;2bf3680d8&lt;/a&gt;&quot;&gt;2bf3680d8&lt;/a&gt;&lt;a href=&quot;https://github.com/igrigorik/http-2/commit/a4a6087c3ae7f755f79568840bdb414f5603e56c&quot;&gt;/lib/nghttp2_session.c#L4941-L4958

* Added new v</a>alidation (stream and connection errors) if window drops below 0
* Split connection and stream flow control logic
* Refactor flow control into flow buffer module
* Added tests for stream and connection flow control

2409 of 2490 relevant lines covered (96.75%)

7901.76 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
spec/stream_spec.rb
4
100.0
lib/http/2/stream.rb
24
100.0
lib/http/2/connection.rb
Jobs
ID Job ID Ran Files Coverage
1 266.1 (2.1) 27 Dec 2017 05:02PM UTC 0
97.37
Travis Job 266.1
2 266.2 (2.2) 27 Dec 2017 05:02PM UTC 0
97.37
Travis Job 266.2
3 266.3 (2.3.0) 27 Dec 2017 05:01PM UTC 0
97.37
Travis Job 266.3
4 266.4 (2.4.0) 27 Dec 2017 05:01PM UTC 0
97.37
Travis Job 266.4
5 266.5 (jruby-9.1.8.0) 27 Dec 2017 05:05PM UTC 0
0.0
Travis Job 266.5
6 266.6 (jruby-head) 27 Dec 2017 05:08PM UTC 0
0.0
Travis Job 266.6
Source Files on build 266
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #266
  • a4a6087c on github
  • Prev Build on master (#253)
  • Next Build on master (#271)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc