Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for stack growth on reconnect #854

Merged
merged 51 commits into from
Sep 4, 2022

Commits on Dec 7, 2021

  1. rel example

    bubbleboy14 committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    71a6b66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a090e6 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Configuration menu
    Copy the full SHA
    934f665 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b14e89 View commit details
    Browse the repository at this point in the history
  3. added example header

    bubbleboy14 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    255dcae View commit details
    Browse the repository at this point in the history
  4. matched wording

    bubbleboy14 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    93fa6a8 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2022

  1. Configuration menu
    Copy the full SHA
    cb73493 View commit details
    Browse the repository at this point in the history
  2. _socket.recv(): _recv() except socket.error - changed or to and; adde…

    …d except TimeoutError - raise WebSocketTimeoutException
    bubbleboy14 committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    3ccecbd View commit details
    Browse the repository at this point in the history
  3. _app - custom dispatcher check_callback() integration (and fixed pyev…

    …ent 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)
    bubbleboy14 committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    58d4b5f View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Configuration menu
    Copy the full SHA
    7514d17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85342a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. merged upstream

    bubbleboy14 committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    218e33c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a90f540 View commit details
    Browse the repository at this point in the history
  3. working reconnect

    bubbleboy14 committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    754cf66 View commit details
    Browse the repository at this point in the history
  4. rmed logs

    bubbleboy14 committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    56f5f12 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Configuration menu
    Copy the full SHA
    8b6ae4b View commit details
    Browse the repository at this point in the history
  2. moved connect notification and dispatcher.read() (if doread kwarg [de…

    …fault False] is True) to setSock() (prevents those lines from running on ConnectionRefusedError)
    bubbleboy14 committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    11b2f69 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Configuration menu
    Copy the full SHA
    2d9f27b View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

  1. Configuration menu
    Copy the full SHA
    8916d4f View commit details
    Browse the repository at this point in the history
  2. run_forever() refactor: stabilized stack frame count (at least in rel…

    … mode); added stack frame count to disconnect (warning) log; grossly oversimplified ;)
    bubbleboy14 committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    6572125 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23f3287 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d905d23 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f6088c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Fix linting errors

    engn33r committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    07cfd26 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. merged in upstream

    bubbleboy14 committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    c588d48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b10daf View commit details
    Browse the repository at this point in the history
  3. reconnect()s for DispatcherBase (uses while loop) and WrappedDispatch…

    …er (uses timeout()); setSock() reconnecting (default False) kwarg - if reconnecting, skip handleDisconnect(); handleDisconnect() calls dispatcher.reconnect()
    bubbleboy14 committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    2840403 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64d48c5 View commit details
    Browse the repository at this point in the history
  5. merged

    bubbleboy14 committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    592ab59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f5b1fc7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    baa3365 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. fixed lint errors

    bubbleboy14 committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    8537e50 View commit details
    Browse the repository at this point in the history
  2. _app: RECONNECT (default 5) and setReconnect() setter; WebSocketApp.r…

    …un_forever() reconnect kwarg defaults to RECONNECT
    bubbleboy14 committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    99ff287 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1a843d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d9dc788 View commit details
    Browse the repository at this point in the history
  5. blank line for linter

    bubbleboy14 committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    fbcc7e9 View commit details
    Browse the repository at this point in the history
  6. linter line

    bubbleboy14 committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    8d9a08a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    adca14d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2f438fc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6077fe5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f1415ba View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. set RECONNECT (run_forever() reconnect kwarg default) to 0 (can be al…

    …tered with setReconnect()) to preserve old (non-reconnecting) default behavior for existing integrations
    bubbleboy14 committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    e716454 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d318ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c373193 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8596f2 View commit details
    Browse the repository at this point in the history
  5. test_app: disabled rel import (unsure how to set up test dependency) …

    …and testRunForeverDispatcher() (also not working previously afaik)
    bubbleboy14 committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    a304b7a View commit details
    Browse the repository at this point in the history
  6. linter fixes

    bubbleboy14 committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    1f0bcab View commit details
    Browse the repository at this point in the history
  7. linter comment spaces

    bubbleboy14 committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    c35700a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    521f793 View commit details
    Browse the repository at this point in the history
  9. run_forever() returns False unless error (handleDisconnect() changes …

    …to True before calling on_error callback)
    bubbleboy14 committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    82f6d97 View commit details
    Browse the repository at this point in the history
  10. rval->self.has_errored

    bubbleboy14 committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    b0817c0 View commit details
    Browse the repository at this point in the history