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

refactor(loop) separate client and loop #31

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    d0ea08f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4d5b8b View commit details
    Browse the repository at this point in the history
  3. refactor(keepalive) remove keepalive logic from ioloop

    by refactoring the keepalive logic into its own method, the
    functionality becomes available to external event loops as well.
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    8fff431 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c9c48a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d81f66c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a5f5d27 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c2956d6 View commit details
    Browse the repository at this point in the history
  8. feat(*) rewrite loop logic

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    af85356 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    136f3ce View commit details
    Browse the repository at this point in the history
  10. fix(mqtt5) pass errors on as is (like mqtt4)

    since errors can be 'signals' they cannot be concatenated
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    40bcd43 View commit details
    Browse the repository at this point in the history
  11. wip

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    8f8773a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    eda35db View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    567ee31 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    18cc55b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    13b43d4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    57ff134 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f6f6131 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    6115148 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7ff684a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    30c3efc View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ab736fe View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e34562f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a600bd7 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    fe062f6 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2db6e72 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c87bbbf View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    587b121 View commit details
    Browse the repository at this point in the history
  28. feat(shutdown) adds a client:shutdown method and event

    To enable disctintion between error type closing and client side
    closing. Shutdown will also disble reconnects, whereas just closing
    or disconnecting would initiate reconnects.
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    ca6f39b View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    c02e3d2 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0e15eaa View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    1fc5859 View commit details
    Browse the repository at this point in the history
  32. feat(*) add nginx/copas specific code for adding clients

    It uses the same auto-detection as the connectors, and has the
    same signatures. So client code can be implemented quickly
    independent of the environment/ioloop in use
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    dc1c261 View commit details
    Browse the repository at this point in the history
  33. fix(example) typos

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    2d10112 View commit details
    Browse the repository at this point in the history
  34. chore(docs) update docs

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    b5d03b8 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    ca71e1b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    1c04d08 View commit details
    Browse the repository at this point in the history
  37. chore(test) rename test file

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    c8583cf View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    aa8f5c0 View commit details
    Browse the repository at this point in the history
  39. fix(loop) make packet handling async for copas/nginx

    the thread reading should not execute the tasks, it has to return
    to reading the socket again asap, to keep the device responsive.
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    1300b0d View commit details
    Browse the repository at this point in the history
  40. fix(send) add a lock when sedning for Copas connector

    when sending, the sending thread may yield if the socket isn't ready
    for writing yet. To prevent another thread from coming in and writing,
    the send operation is now wrapped in a lock.
    
    Added a note to the Nginx one that it needs a similar construct.
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    043badc View commit details
    Browse the repository at this point in the history
  41. fix(deps) bump to Copas 4

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    5bc4a92 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    e9d8b39 View commit details
    Browse the repository at this point in the history
  43. fix(copas) prevent accidental disabling of keep-alive

    if arithmetic accidentally returns a number < 0 then Copas will
    put the thread to sleep-until-woken, effectively disabling keepalives.
    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    196f7af View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    8bafeb6 View commit details
    Browse the repository at this point in the history
  45. chore(docs) fix some typos

    Tieske committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    7b8cb78 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    bbd5226 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    e452151 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    b44634a View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    be50bd1 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    b19fb52 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. markdownlint: improved config

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    b16be62 View commit details
    Browse the repository at this point in the history
  2. lua version fix md file

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    23a070b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82c6213 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa207ac View commit details
    Browse the repository at this point in the history
  5. markdown link fix

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    a84c7e4 View commit details
    Browse the repository at this point in the history
  6. markdown fix

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    c652064 View commit details
    Browse the repository at this point in the history
  7. markdown improve

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    46fb48a View commit details
    Browse the repository at this point in the history
  8. markdown improved a bit

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    fe730ba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8312df3 View commit details
    Browse the repository at this point in the history
  10. markdown fix

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    1669a15 View commit details
    Browse the repository at this point in the history
  11. markdown fix

    xHasKx committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    f8411de View commit details
    Browse the repository at this point in the history