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

ironsmile / nedomi / 546
67%
master: 73%

Build:
Build:
LAST BUILD BRANCH: getContextFromRequest
DEFAULT BRANCH: master
Ran 28 Oct 2015 03:37PM UTC
Jobs 2
Files 78
Run time 10min
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
546

push

travis-ci

MStoykov
change http.Server.*Timeout to be on a per Read|Write basis

This is fun feature which circumvents the fact that http.Server timeout
is not useful when you have long living connections. If you have a
connection which will have to live for 20 minutes you can either put
your timeout to something above 20 minutes and possibly have connections
which are stale for 20 minutes, have timeout connections for no good
reason or do what is done through this commit.

This commit changes the meaning of net.Conn.Set*Deadline to mean
"calculate me a timeout from now till the deadline and than use that to
deadline each Read|Write operation for that timeout", not all of them.

This means that you can have a timeout of 10 seconds and connections
which have been used to transmit data for as long as each Read|Write
takes less than 10 seconds.

This is only done for the connections served by facebook's grace - the
incoming traffic for nedomi. For this reason the grace project was ...
forked. Vendoring the gracehttp package should be considered at a future
date.

2284 of 3389 relevant lines covered (67.39%)

4002.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 546.1 28 Oct 2015 03:37PM UTC 0
67.39
Travis Job 546.1
2 546.2 28 Oct 2015 03:48PM UTC 0
67.39
Travis Job 546.2
Source Files on build 546
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #546
  • 46366cb2 on github
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