bjoern icon indicating copy to clipboard operation
bjoern copied to clipboard

A screamingly fast Python 2/3 WSGI server written in C.

Results 37 bjoern issues
Sort by recently updated
recently updated
newest added

When I tried the command `pip3 install --global-option=build_ext --global-option="-I/opt/homebrew/include" bjoern` to build bjoern , it crashed out with the erroers below.

In #153 you suggested to create a Docker image. Supposedly to be able to run `bjoern`. Here's the starting point: ```dockerfile FROM python:alpine RUN apk add --no-cache build-base libev-dev git...

hi, how can I serve a static directory (incl. sub-directories) with bjoern ?

How we can call from command line like gunicorn... `web: gunicorn main:application --workers=13 --threads=2 --worker-connections=1000 --keep-alive=1800 --worker-class=uvicorn.workers.UvicornWorker --timeout 3600 --log-level=debug` this how we are using to call your application inside...

pip-installing v3.2.0 fails with this output: ``` running build running build_py running build_ext building '_bjoern' extension In file included from bjoern/_bjoernmodule.c:3: In file included from bjoern/wsgi.h:2: bjoern/request.h:5:10: fatal error: 'http_parser.h'...

Hi, I have a simple Python script wrapping a Bjoern web server around a WSGI app. In essence, it looks like this: ``` def signal_term_handler(signal, frame): logging.info('got SIGTERM') sys.exit(0) def...

Waiting for input
Bug

I'm on macOS 11.5.2. After stopping the server via SIGHUP and then starting again on the same Unix socket I get the following error: `OSError: [Errno 48] Address already in...

Having wheels on PyPi could make installation a lot faster and may also solve the "library headers are required for installation"-problem. By the way, nice work!

Needs patch

pip log ` Building wheels for collected packages: bjoern Building wheel for bjoern (setup.py): started Building wheel for bjoern (setup.py): finished with status 'error' ERROR: Command errored out with exit...

Is it possible to implement it? As I understand it should be `wsgi.websocket` inserted into the WSGI environment. Thanks!