Commit Graph

9 Commits

Author SHA1 Message Date
Abhinav Singh 69445a8921
Remove pip upgrade for windows which seems to be failing on travis (#136)
* Remove pip upgrade for windows which seems to be failing on travis

* Remove windows testing on Travis, pip install is failing
2019-10-16 01:13:27 -07:00
Abhinav Singh a9c8659ffa
Use selectors.DefaultSelector instead of select.select (#106)
* Use selectors.DefaultSelector instead of select.select

* Unregister to avoid endless loop

* Cleanup event register/unregiter

* Cleanup event registration

* Add google-fluentd.conf.  Use if running proxy.py on Google Cloud.

* Send server error from proxy if for whatever reason we fail to process the request (or should it be BadRequest based upon situation?)

* Fix tests for selectors

* Only include proxy.py and tests.py in coverage report

* Only include proxy.py for coverage

* remove redundant integration test, will rewrite using mocks

* Proper unregister of events

* Change multi core accept model to avoid client TIME_WAIT. Fixes #97

* Catch BlockingIOError

* Remove redundant comments

* Simplify with AcceptorPool

* Pass family to acceptor processes

* Remove plugin.access_log for core plugins

* Return 501 not implemented for web socket upgrade requests to inbuilt HTTP server

* Add support for websocket upgrade

* Websocket frame parser

* Enable websocket based routing

* Add WebsocketClient

* Websocket

* mypy fixes

* Sync GitHub workflow lint and makefile lint commands.

For now comment out tests which are broken :(  New tests coming next.

* Start fixing tests for new code

* Fix formatting

* Fix main tests

* Add worker tests

* GitHub only ran windows tests, may be require unique names

* Use 3.6/3.7 dev versions for GitHub actions

* Add AcceptorPool test

* Add x64 and x86 matrix for actions tests

* Dont use dev versions since they dont exists for x86

* Ha no x86 support itself

* Add backer link

* Remove support badge for 3.5 as it doesnt support typing

* Update read me with changed architecture notes

* Update read me with changed architecture notes

* Add `import proxy` usage instructions.

* Add pydoc reference for developers

* Put pydoc as internal documentation
2019-10-02 00:09:35 -07:00
Abhinav Singh fcfbec4760 Add coveralls integration
No use mirrors

Enforce coverage3

Add coverage badge and use python -m to invoke coverage

Enforce pip3, remove SyntaxError reported line

Use develop branch for coverage status
2019-08-26 10:54:17 -07:00
Abhinav Singh 8732cb7151 Refactor HttpProxy.run
Fix tests for py2.7 which require external mock module

Disable tests which require listening on sockets for Travis.

Make travis make free

set TESTING_ON_TRAVIS=1 for windows
2019-08-24 09:31:50 -07:00
Abhinav Singh 824ba57589 Disable tests for Python 2.7 version 2019-08-11 21:47:24 -07:00
Abhinav Singh d2836ca312 Add python 3.7 support using workaround 2019-02-08 20:18:16 -08:00
Abhinav Singh d041995c06 Disable py 3.3 and 3.4 for now 2019-02-08 20:12:41 -08:00
Abhinav Singh 6eb4be803d Disable osx and windows OS 2019-02-08 20:05:50 -08:00
Abhinav Singh e2e596259e Add travis configuration 2019-02-08 19:53:08 -08:00