<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/websocket-client.git/websocket, branch v1.4.2</title>
<subtitle>github.com: liris/websocket-client.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/'/>
<entry>
<title>1.4.2</title>
<updated>2022-11-03T00:00:00+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-11-03T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=c8c5a19da2a2015a64d08479e74779de7fd355de'/>
<id>c8c5a19da2a2015a64d08479e74779de7fd355de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>create_dispatcher() w/ is_ssl determined by url instead of sslopt (#875)</title>
<updated>2022-11-04T03:50:17+00:00</updated>
<author>
<name>bubbleboy14</name>
<email>mario.balibrera@gmail.com</email>
</author>
<published>2022-11-04T03:50:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=e7445f8e8629530cb3491c020295986606d8dbd8'/>
<id>e7445f8e8629530cb3491c020295986606d8dbd8</id>
<content type='text'>
* create_dispatcher() w/ is_ssl determined by url instead of sslopt

* added .lower() (per @rm-you's suggestion)

* create_dispatcher() w/ parse_url()-derived is_ssl

* Fix failing test, missing wss

Co-authored-by: engn33r &lt;engn33r@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* create_dispatcher() w/ is_ssl determined by url instead of sslopt

* added .lower() (per @rm-you's suggestion)

* create_dispatcher() w/ parse_url()-derived is_ssl

* Fix failing test, missing wss

Co-authored-by: engn33r &lt;engn33r@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Update docs to fix #863 (#872)</title>
<updated>2022-10-26T01:08:31+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-10-26T01:08:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=57cc86b07cb3bad34721106e79f95e145507ca4e'/>
<id>57cc86b07cb3bad34721106e79f95e145507ca4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove broken websockets.org links from documentation</title>
<updated>2022-10-25T00:00:00+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-10-25T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=73fddb733fc7aaa974830110b01a223f1f73d353'/>
<id>73fddb733fc7aaa974830110b01a223f1f73d353</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Possible* Redundancy In Key Generation (#864)</title>
<updated>2022-10-06T18:30:16+00:00</updated>
<author>
<name>benlazzero</name>
<email>85390423+benlazzero@users.noreply.github.com</email>
</author>
<published>2022-10-06T18:30:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=6ff442c6b11b56d98583056c4832d48f284246dc'/>
<id>6ff442c6b11b56d98583056c4832d48f284246dc</id>
<content type='text'>
Was digging through the code base the past few days as it's been an excellent aid in learning about Websockets and TCP. Noticed _create_sec_websocket_key was getting called twice per ws.connect method. I may be missing something, but thought I would bring it to your attention in case it's an artifact or something. Best Regards!</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Was digging through the code base the past few days as it's been an excellent aid in learning about Websockets and TCP. Noticed _create_sec_websocket_key was getting called twice per ws.connect method. I may be missing something, but thought I would bring it to your attention in case it's an artifact or something. Best Regards!</pre>
</div>
</content>
</entry>
<entry>
<title>1.4.1</title>
<updated>2022-09-04T00:00:00+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-09-04T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=37429a3efa1238cb5b6e5c056dd4e9190575d5ca'/>
<id>37429a3efa1238cb5b6e5c056dd4e9190575d5ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix for stack growth on reconnect (#854)</title>
<updated>2022-09-04T19:51:43+00:00</updated>
<author>
<name>bubbleboy14</name>
<email>mario.balibrera@gmail.com</email>
</author>
<published>2022-09-04T19:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=3baacdafe246c4eb93b41850bb29bda7b73c5fc3'/>
<id>3baacdafe246c4eb93b41850bb29bda7b73c5fc3</id>
<content type='text'>
* rel example

* tweaked rel example for linter

* added rel note to examples.rst

* slightly more compact example

* added example header

* matched wording

* _socket.recv(): _recv() except socket.error - changed or to and; added except TimeoutError - raise WebSocketTimeoutException

* _app - custom dispatcher check_callback() integration (and fixed pyevent compatibility): WrappedDispatcher (for use with generic event dispatchers such as pyevent and rel); create_dispatcher() accepts dispatcher kwarg (default None), and if it is specified, returns a WrappedDispatcher; use create_dispatcher() (passing specified dispatcher if any) every time (regardless of dispatcher specification)

* Add clarifying comment, rerun CI tests

* Add space to make linter happy

* working reconnect

* rmed logs

* added _logging.warning() disconnected/reconnected notifications to handleDisconnect()

* moved connect notification and dispatcher.read() (if doread kwarg [default False] is True) to setSock() (prevents those lines from running on ConnectionRefusedError)

* run_forever(): reconnect kwarg now specifies sleep() time (defualt 5)

* handleDisconnect(): fixed log msg

* run_forever() refactor: stabilized stack frame count (at least in rel mode); added stack frame count to disconnect (warning) log; grossly oversimplified ;)

* dispatcher simplification via DispatcherBase and DispatcherBase/WrappedDispatcher.timeout()

* _logging: info(); enableTrace() supports level kwarg (default "DEBUG")

* handleDisconnect() uses info() log

* Fix linting errors

* moved timeout() from Dispatcher to DispatcherBase (thus also applying to SSLDispatcher)

* reconnect()s for DispatcherBase (uses while loop) and WrappedDispatcher (uses timeout()); setSock() reconnecting (default False) kwarg - if reconnecting, skip handleDisconnect(); handleDisconnect() calls dispatcher.reconnect()

* custom_dispatcher switch in handleDisconnect()

* WrappedDispatcher constructor registers keyboard interrupt signal

* DispatcherBase.reconnect(): wrapped while loop in KeyboardInterrupt try/except

* fixed lint errors

* _app: RECONNECT (default 5) and setReconnect() setter; WebSocketApp.run_forever() reconnect kwarg defaults to RECONNECT

* tests.test_app: ws.setReconnect(0) (may fix test stall issue)

* oops, added setReconnect import to websocket __init__

* blank line for linter

* linter line

* added rel to setup extras_require{test}[]

* adjusted testRunForeverDispatcher() to use rel (including dispatch())

* setup: moved rel dep from extras_require{test}[] to tests_require[]

* meh trying install_requires[] (tests_require[] depped??)

* set RECONNECT (run_forever() reconnect kwarg default) to 0 (can be altered with setReconnect()) to preserve old (non-reconnecting) default behavior for existing integrations

* rmed rel from install_requires[] (only added for tests, and was not working...)

* test_app: rmed ws.setReconnect(0) (0 is new default)

* run_forever() reconnect-&gt;RECONNECT fallback in func instead of kwarg default

* test_app: disabled rel import (unsure how to set up test dependency) and testRunForeverDispatcher() (also not working previously afaik)

* linter fixes

* linter comment spaces

* run_forever() returns False to pass testRunForeverTeardownCleanExit test

* run_forever() returns False unless error (handleDisconnect() changes to True before calling on_error callback)

* rval-&gt;self.has_errored

Co-authored-by: engn33r &lt;engn33r@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rel example

* tweaked rel example for linter

* added rel note to examples.rst

* slightly more compact example

* added example header

* matched wording

* _socket.recv(): _recv() except socket.error - changed or to and; added except TimeoutError - raise WebSocketTimeoutException

* _app - custom dispatcher check_callback() integration (and fixed pyevent compatibility): WrappedDispatcher (for use with generic event dispatchers such as pyevent and rel); create_dispatcher() accepts dispatcher kwarg (default None), and if it is specified, returns a WrappedDispatcher; use create_dispatcher() (passing specified dispatcher if any) every time (regardless of dispatcher specification)

* Add clarifying comment, rerun CI tests

* Add space to make linter happy

* working reconnect

* rmed logs

* added _logging.warning() disconnected/reconnected notifications to handleDisconnect()

* moved connect notification and dispatcher.read() (if doread kwarg [default False] is True) to setSock() (prevents those lines from running on ConnectionRefusedError)

* run_forever(): reconnect kwarg now specifies sleep() time (defualt 5)

* handleDisconnect(): fixed log msg

* run_forever() refactor: stabilized stack frame count (at least in rel mode); added stack frame count to disconnect (warning) log; grossly oversimplified ;)

* dispatcher simplification via DispatcherBase and DispatcherBase/WrappedDispatcher.timeout()

* _logging: info(); enableTrace() supports level kwarg (default "DEBUG")

* handleDisconnect() uses info() log

* Fix linting errors

* moved timeout() from Dispatcher to DispatcherBase (thus also applying to SSLDispatcher)

* reconnect()s for DispatcherBase (uses while loop) and WrappedDispatcher (uses timeout()); setSock() reconnecting (default False) kwarg - if reconnecting, skip handleDisconnect(); handleDisconnect() calls dispatcher.reconnect()

* custom_dispatcher switch in handleDisconnect()

* WrappedDispatcher constructor registers keyboard interrupt signal

* DispatcherBase.reconnect(): wrapped while loop in KeyboardInterrupt try/except

* fixed lint errors

* _app: RECONNECT (default 5) and setReconnect() setter; WebSocketApp.run_forever() reconnect kwarg defaults to RECONNECT

* tests.test_app: ws.setReconnect(0) (may fix test stall issue)

* oops, added setReconnect import to websocket __init__

* blank line for linter

* linter line

* added rel to setup extras_require{test}[]

* adjusted testRunForeverDispatcher() to use rel (including dispatch())

* setup: moved rel dep from extras_require{test}[] to tests_require[]

* meh trying install_requires[] (tests_require[] depped??)

* set RECONNECT (run_forever() reconnect kwarg default) to 0 (can be altered with setReconnect()) to preserve old (non-reconnecting) default behavior for existing integrations

* rmed rel from install_requires[] (only added for tests, and was not working...)

* test_app: rmed ws.setReconnect(0) (0 is new default)

* run_forever() reconnect-&gt;RECONNECT fallback in func instead of kwarg default

* test_app: disabled rel import (unsure how to set up test dependency) and testRunForeverDispatcher() (also not working previously afaik)

* linter fixes

* linter comment spaces

* run_forever() returns False to pass testRunForeverTeardownCleanExit test

* run_forever() returns False unless error (handleDisconnect() changes to True before calling on_error callback)

* rval-&gt;self.has_errored

Co-authored-by: engn33r &lt;engn33r@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>revert fc525b1, http proxy uses URL port unlike SOCKS proxies</title>
<updated>2022-08-25T00:00:00+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-08-25T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=7a33095acd3a2e053b982cad3fbf07a5e5c9a124'/>
<id>7a33095acd3a2e053b982cad3fbf07a5e5c9a124</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug that set http proxy to port 80</title>
<updated>2022-08-25T00:00:00+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-08-25T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=fc525b1393e1db275905a9fbbd002868081e5381'/>
<id>fc525b1393e1db275905a9fbbd002868081e5381</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>1.4.0</title>
<updated>2022-08-24T00:00:00+00:00</updated>
<author>
<name>engn33r</name>
<email>engn33r@users.noreply.github.com</email>
</author>
<published>2022-08-24T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/websocket-client.git/commit/?id=14b102d809295328fcf9fa87b396eff05b2d039f'/>
<id>14b102d809295328fcf9fa87b396eff05b2d039f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
