Florian Best

Results 155 issues of Florian Best

If the main loop of circuits run in a thread and in another thread the following pattern is used: ``` event = self.fire(hello()) event.notify = True ``` Then we have...

Currently handling errors in coroutines is not really nice and error prone leading even to critical vulnerabilites as we had in the circuits.web authentication example where one could bypass authentication....

API change

Since Travis-CI.org moved to Travis-CI.com the service is very unreliable - I currently can't run any tests. We should move to an alternative. The only one I am aware of...

help wanted

`circuits.web.tools.validate_etags(autotags=True)` is broken: it calls `etag = response.collapse_body()` but there is no function `collapse_body` anywhere.

bug

The description of `circuits.web.exceptions` contain and allow HTML. If one raises e.g. `raise HTTPException(description_containing_user_input)` we would allow a XSS attack. We should strengthen this, so that it's not so easy...

security

We should investigate if we can couple circuits with tornado. Tornado solves a lot of nice features, which circuits doesn't have yet.

feature-request

I would like to migrate `circuits.web` to use https://github.com/spaceone/httoop as library for parsing HTTP requests. This will cause a lot of code removal/simplification, as `httoop` is capable of all the...

feature-request

The first message received from the server is lost due to a race condition. If the server immediately sends bytes after the 101 Switching Protocols HTTP response, the WebsocketCodec is...

We should drop Python 2 support in circuits 3.3. (?!) Python 2.7 is out of maintenance since beginning of 2020: https://www.python.org/dev/peps/pep-0373/ * This would allow circuits to define coroutines as...

`KeyboardInterrupt` should not only stop the main loop and continue then but also re-raise the KeyboardInterrupt to stop the program execution?! (Fedback from Issue #216)