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

abhinavsingh / proxy.py / 596
76%

Build:
DEFAULT BRANCH: develop
Ran 16 Oct 2019 06:57AM UTC
Jobs 2
Files 1
Run time 1min
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
596

push

travis-ci

web-flow
Threadless execution using coroutines (#134)

* Workers need not register/unregister sock for every loop

* No need of explicit socket.settimeout(0) which is same as socket.setblocking(False)

* Remove settimeout assertion

* Only store sender side of Pipe().  Also ensure both end of the Pipe() are closed on shutdown

* Make now global. Also we seem to be using datetime.utcnow and time.time for similar purposes

* Use time.time throughout.  Remove incomplete test_cache_responses_plugin to avoid resource leak in tests

* Remove unused

* Wrap selector register/unregister within a context manager

* Refactor in preparation of threadless request handling

* MyPy generator fix

* Add --threadless flag

* Internally call them acceptors

* Internally use acceptors

* Add Threadless class.

Also no need to pass family over pipe to acceptors.

* Make threadless work for a single client :)

* Threadless is soon be our default

* Close client queue

* Use context manager for register/unregister

* Fix Acceptor tests broken after refactoring

* Use asyncio tasks to invoke ProtocolHandle.handle_events

This gives all client threads a chance to respond without
waiting for other handlers to return.

* Explicitly initialize event loop per Threadless process

* Mypy fixes

* Add ThreadlessWork abstract class implemented by ProtocolHandler

* Add benchmark.py

Avoid TIME_WAIT by properly shutting down the connection.

* Add benchmark.py as part of testing workflow

* When e2e encryption is enabled, unwrap socket before shutdown to ensure CLOSED state

* MyPy fixes, Union should have worked, but likely unwrap is not part of socket.socket hence

* Unwrap if wrapped before shutdown

* Unwrap if wrapped before shutdown

* socket.SHUT_RDWR will cause leaks

* MyPy

* Add instructions for monitor.sh

* Avoid recursive exception in new_socket_connection and only invoke plugins/shutdown if server connectio... (continued)

1254 of 1642 relevant lines covered (76.37%)

1.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 596.1 (TESTING_ON_TRAVIS=1) 16 Oct 2019 06:57AM UTC 0
76.37
Travis Job 596.1
2 596.2 (TESTING_ON_TRAVIS=1) 16 Oct 2019 06:59AM UTC 0
76.37
Travis Job 596.2
Source Files on build 596
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #596
  • a1bb6594 on github
  • Prev Build on develop (#545)
  • Next Build on develop (#601)
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

© 2025 Coveralls, Inc