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

mlalic / solicit / 421
78%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2016 09:26PM UTC
Jobs 1
Files 21
Run time 1174min
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
421

Pull #21

travis-ci

jwilm
Add support for PING frame

The protocol specifies a few things that could not be handled here due
to current Solicit APIs.

> If a PING frame is received with a stream identifier field value other
> than 0x0, the recipient MUST respond with a connection error (Section
> 5.4.1) of type PROTOCOL_ERROR.

and

> Receipt of a PING frame with a length field value other than 8 MUST be
> treated as a connection error (Section 5.4.1) of type
> FRAME_SIZE_ERROR.

When receiving a PING frame without the ACK flag set, the connection
replies with a PING frame having the ACK flag set. When an ACK is
received, nothing is done.

In addition to supporting the PING frame of the HTTP/2 protocol, a
method is exposed on the Async client to support sending PINGs as
desired by the client. This part of the feature is a bit half-baked as
the client has no way of getting the PONG. It wasn't clear how this
API should work. At the very least, it provides a method which will send
PING frames and return an error immediately if the client isn't capable
of making requests.
Pull Request #21: Add support for PING frame

2882 of 3077 relevant lines covered (93.66%)

0.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
31
100.0
http/connection.rs
19
100.0
client/async.rs
13
100.0
http/client/mod.rs
12
100.0
http/session.rs
12
100.0
http/tests/common.rs
4
100.0
http/transport.rs
3
100.0
http/frame/mod.rs
Jobs
ID Job ID Ran Files Coverage
3 421.3 05 Apr 2016 04:55PM UTC 0
93.66
Travis Job 421.3
Source Files on build 421
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #421
  • Pull Request #21
  • PR Base - master (#418)
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