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

Fixed processing of heartbeats and a session expiration and addeds support of aiohttp_cors #448

Merged
merged 24 commits into from
Jun 13, 2024

Commits on Feb 8, 2022

  1. - Fixed processing of heartbeats and a session expiration.

    - Fixed ping-pong based heartbeats for web-socket connections.
    - Added arguments ``heartbeat_delay`` and ``disconnect_delay`` into ``Session.__init__()``.
    - Added argument ``disconnect_delay`` into ``SessionManager.__init__()``.
    - **Breaking change:** Removed argument ``timeout`` from ``Session.__init__()`` and ``SessionManager.__init__()``.
    - **Breaking change:** Argument ``heartbeat`` of ``SessionManager.__init__()`` renamed into ``heartbeat_delay``.
    - **Breaking change:** ``Session.registry`` renamed into ``Session.app``.
    - **Breaking change:** Dropped support of Python < 3.7
    Cykooz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    0469b8c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into fix_hearbeats

    # Conflicts:
    #	requirements.txt
    Cykooz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    12a7dd3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b27720 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b89b0e View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

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

Commits on Jan 18, 2023

  1. - Added argument cors_config into function add_endpoint() to …

    …support of CORS settings from ``aiohttp_cors``.
    
    - Function ``add_endpoint()`` now returns all registered routes.
    - Replaced returning instances of error HTTP responses on raising its as exceptions.
    - Changed name of some routes.
    Cykooz committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    04b78f3 View commit details
    Browse the repository at this point in the history
  2. Fixed GitHub actions

    Cykooz committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    953282b View commit details
    Browse the repository at this point in the history
  3. Fixed GitHub actions

    Cykooz committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    53dadc0 View commit details
    Browse the repository at this point in the history
  4. Fixed GitHub actions

    Cykooz committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    879ccc0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83818c3 View commit details
    Browse the repository at this point in the history
  6. Fixed typing

    Cykooz committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    c120b9e View commit details
    Browse the repository at this point in the history
  7. Reverted pytest-timeout

    Cykooz committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    91fc90f View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

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

Commits on Jan 25, 2023

  1. Added arguments heartbeat_delay and disconnect_delay into fun…

    …ction ``add_endpoint()``.
    Cykooz committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    8747ea1 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. - Heartbeat task moved from SessionManager into Session.

    - Methods ``_acquire`` and ``_release`` of ``Sessions`` renamed into ``acquire`` and ``release``.
    Cykooz committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    c8b36fa View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

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

Commits on Jun 14, 2023

  1. Fixed name of transports.

    Cykooz committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    140c4b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. - Changed arguments of handler function. Now handler function must be…

    … defined
    
      like ``async def handler(manager, session, msg):``
    - Constants:
    
      - FRAME_OPEN
      - FRAME_CLOSE
      - FRAME_MESSAGE
      - FRAME_MESSAGE_BLOB
      - FRAME_HEARTBEAT
    
      replaced by ``Frame`` enums with corresponding values.
    - Constants:
    
      - MSG_OPEN
      - MSG_MESSAGE
      - MSG_CLOSE
      - MSG_CLOSED
    
      replaced by ``MsgType`` enums with corresponding values.
    - Constants:
    
      - STATE_NEW
      - STATE_OPEN
      - STATE_CLOSING
      - STATE_CLOSED
    
      replaced by ``SessionState`` enums with corresponding values.
    Cykooz committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    8516f02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b3af51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6850a48 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

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

Commits on Jun 13, 2024

  1. - Updated dependencies versions.

    - Fixed code style.
    Cykooz committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    1ef9c1d View commit details
    Browse the repository at this point in the history
  2. Fixed dependencies.

    Cykooz committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    645ca01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f617baa View commit details
    Browse the repository at this point in the history