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

Bug fix: asyncio.cancel #52

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

Commits on Nov 16, 2022

  1. Update server.py

    Adds ability to specify multiple parameter names in restful urls.
    
    Adds ability to obtain query string as a dictionary from request object.
    Beormund committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    e832fbb View commit details
    Browse the repository at this point in the history
  2. Fix greedy path matching bug in _find_url_handler

    Fix greedy matching of url root. Now _find_url_handler has to match path and params for parameterized urls.
    Beormund committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    8651dbf View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. Changed param names to param count

    Changed params['_param_names'] to params['_param_count']. Also made further improvements to path/param detection in _find_url_handler.
    Beormund committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    e78ca97 View commit details
    Browse the repository at this point in the history
  2. Method read_parse_query_data modified

    No need for this helper method to be async.
    Beormund committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    def4d26 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Bug fix non-existent asyncio.cancel

    Replaced asyncio.cancel calls with task.cancel and removed unused processed_connections count. Also, self.conns[hid] = handler is now self.conns[hid] = task.
    Beormund committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    4df3f45 View commit details
    Browse the repository at this point in the history