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

ICRAR / ngas / 259 / 3
69%
master: 69%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2018 07:33AM UTC
Files 161
Run time 10s
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

09 Nov 2018 06:25AM UTC coverage: 64.59% (+0.4%) from 64.158%
DB=postgresql

push

travis-ci

rtobar
Using sendfile to POST files

If we recognize `data` as being a file object that points to an actual
file then we use sendfile (via the pysendfile module) to send it through
the socket that underlies the HTTP connection object. We still use
conn.request() to place the request headers and flush it, leaving only
the body up to sendfile.

This change should benefit the ngamsPClient class and command tool in
cases when files are being archived. Additionally the subscription
thread should also see benefits, as it also POSTs files to subscribers.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

12389 of 19181 relevant lines covered (64.59%)

0.65 hits per line

Source Files on job 259.3 (DB=postgresql)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 244
  • Travis Job 259.3
  • db93b0d8 on github
  • Prev Job for DB=postgresql on master (#252.3)
  • Next Job for DB=postgresql on master (#260.3)
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