├── .clang-format ├── .gitignore ├── .travis.yml ├── CHANGES.rst ├── LICENSE ├── MANIFEST.in ├── README.rst ├── bench ├── flask │ ├── fapws3_server.py │ ├── gevent_server.py │ ├── meinheld_server.py │ └── templates │ │ └── hello.html └── hello │ ├── bjoern_server.py │ ├── fapws3_server.py │ ├── gevent_server.py │ └── meinheld_server.py ├── example ├── chat │ ├── chatdemo.py │ ├── static │ │ ├── chat.css │ │ └── chat.js │ └── templates │ │ ├── index.html │ │ └── message.html ├── django_chat │ ├── README │ ├── __init__.py │ ├── chat │ │ ├── __init__.py │ │ └── views.py │ ├── manage.py │ ├── run.py │ ├── settings.py │ ├── static │ │ ├── chat.css │ │ └── chat.js │ ├── templates │ │ ├── 404.html │ │ ├── 500.html │ │ ├── index.html │ │ └── message.html │ └── urls.py ├── exist_socket.py ├── flask_sample.py ├── fork_sample.py ├── gunicorn_test.py ├── hello_world.py ├── patch │ ├── mongo_sample.py │ └── urllib2_sample.py ├── pyramid │ └── helloworld.py ├── static_file.py ├── templates │ └── hello.html ├── uploads.py ├── wallpaper.jpg └── websocket_chat │ ├── templates │ └── websocket_chat.html │ ├── websocket_chat.py │ └── websocket_chat_simple.py ├── meinheld ├── __init__.py ├── common.py ├── gmeinheld.py ├── middleware.py ├── mlogging.py ├── msocket.py ├── patch.py ├── server │ ├── atomic.h │ ├── buffer.c │ ├── buffer.h │ ├── client.c │ ├── client.h │ ├── greenlet.h │ ├── greensupport.c │ ├── greensupport.h │ ├── heapq.c │ ├── heapq.h │ ├── http_parser.c │ ├── http_parser.h │ ├── http_request_parser.c │ ├── http_request_parser.h │ ├── input.c │ ├── input.h │ ├── log.c │ ├── log.h │ ├── meinheld.h │ ├── picoev.h │ ├── picoev_epoll.c │ ├── picoev_kqueue.c │ ├── picoev_select.c │ ├── request.c │ ├── request.h │ ├── response.c │ ├── response.h │ ├── server.c │ ├── server.h │ ├── time_cache.c │ ├── time_cache.h │ ├── timer.c │ ├── timer.h │ ├── util.c │ └── util.h └── websocket.py ├── setup.py ├── tests ├── autobahn_test_server.py ├── autobahn_tests.py ├── base.py ├── fuzzingclient.json ├── test_logger.py ├── test_schedule.py ├── test_socket.py ├── test_suspend.py ├── test_wsgi_evil.py ├── test_wsgi_spec.py └── wallpaper.jpg └── tox.ini /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/README.rst -------------------------------------------------------------------------------- /bench/flask/fapws3_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/flask/fapws3_server.py -------------------------------------------------------------------------------- /bench/flask/gevent_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/flask/gevent_server.py -------------------------------------------------------------------------------- /bench/flask/meinheld_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/flask/meinheld_server.py -------------------------------------------------------------------------------- /bench/flask/templates/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/flask/templates/hello.html -------------------------------------------------------------------------------- /bench/hello/bjoern_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/hello/bjoern_server.py -------------------------------------------------------------------------------- /bench/hello/fapws3_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/hello/fapws3_server.py -------------------------------------------------------------------------------- /bench/hello/gevent_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/hello/gevent_server.py -------------------------------------------------------------------------------- /bench/hello/meinheld_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/bench/hello/meinheld_server.py -------------------------------------------------------------------------------- /example/chat/chatdemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/chat/chatdemo.py -------------------------------------------------------------------------------- /example/chat/static/chat.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/chat/static/chat.css -------------------------------------------------------------------------------- /example/chat/static/chat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/chat/static/chat.js -------------------------------------------------------------------------------- /example/chat/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/chat/templates/index.html -------------------------------------------------------------------------------- /example/chat/templates/message.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/chat/templates/message.html -------------------------------------------------------------------------------- /example/django_chat/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/README -------------------------------------------------------------------------------- /example/django_chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/django_chat/chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/django_chat/chat/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/chat/views.py -------------------------------------------------------------------------------- /example/django_chat/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/manage.py -------------------------------------------------------------------------------- /example/django_chat/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/run.py -------------------------------------------------------------------------------- /example/django_chat/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/settings.py -------------------------------------------------------------------------------- /example/django_chat/static/chat.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/static/chat.css -------------------------------------------------------------------------------- /example/django_chat/static/chat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/static/chat.js -------------------------------------------------------------------------------- /example/django_chat/templates/404.html: -------------------------------------------------------------------------------- 1 |

Not Found

2 | -------------------------------------------------------------------------------- /example/django_chat/templates/500.html: -------------------------------------------------------------------------------- 1 |

Internal Server Error

2 | -------------------------------------------------------------------------------- /example/django_chat/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/templates/index.html -------------------------------------------------------------------------------- /example/django_chat/templates/message.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/templates/message.html -------------------------------------------------------------------------------- /example/django_chat/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/django_chat/urls.py -------------------------------------------------------------------------------- /example/exist_socket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/exist_socket.py -------------------------------------------------------------------------------- /example/flask_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/flask_sample.py -------------------------------------------------------------------------------- /example/fork_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/fork_sample.py -------------------------------------------------------------------------------- /example/gunicorn_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/gunicorn_test.py -------------------------------------------------------------------------------- /example/hello_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/hello_world.py -------------------------------------------------------------------------------- /example/patch/mongo_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/patch/mongo_sample.py -------------------------------------------------------------------------------- /example/patch/urllib2_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/patch/urllib2_sample.py -------------------------------------------------------------------------------- /example/pyramid/helloworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/pyramid/helloworld.py -------------------------------------------------------------------------------- /example/static_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/static_file.py -------------------------------------------------------------------------------- /example/templates/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/templates/hello.html -------------------------------------------------------------------------------- /example/uploads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/uploads.py -------------------------------------------------------------------------------- /example/wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/wallpaper.jpg -------------------------------------------------------------------------------- /example/websocket_chat/templates/websocket_chat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/websocket_chat/templates/websocket_chat.html -------------------------------------------------------------------------------- /example/websocket_chat/websocket_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/websocket_chat/websocket_chat.py -------------------------------------------------------------------------------- /example/websocket_chat/websocket_chat_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/example/websocket_chat/websocket_chat_simple.py -------------------------------------------------------------------------------- /meinheld/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/__init__.py -------------------------------------------------------------------------------- /meinheld/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/common.py -------------------------------------------------------------------------------- /meinheld/gmeinheld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/gmeinheld.py -------------------------------------------------------------------------------- /meinheld/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/middleware.py -------------------------------------------------------------------------------- /meinheld/mlogging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/mlogging.py -------------------------------------------------------------------------------- /meinheld/msocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/msocket.py -------------------------------------------------------------------------------- /meinheld/patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/patch.py -------------------------------------------------------------------------------- /meinheld/server/atomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/atomic.h -------------------------------------------------------------------------------- /meinheld/server/buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/buffer.c -------------------------------------------------------------------------------- /meinheld/server/buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/buffer.h -------------------------------------------------------------------------------- /meinheld/server/client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/client.c -------------------------------------------------------------------------------- /meinheld/server/client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/client.h -------------------------------------------------------------------------------- /meinheld/server/greenlet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/greenlet.h -------------------------------------------------------------------------------- /meinheld/server/greensupport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/greensupport.c -------------------------------------------------------------------------------- /meinheld/server/greensupport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/greensupport.h -------------------------------------------------------------------------------- /meinheld/server/heapq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/heapq.c -------------------------------------------------------------------------------- /meinheld/server/heapq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/heapq.h -------------------------------------------------------------------------------- /meinheld/server/http_parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/http_parser.c -------------------------------------------------------------------------------- /meinheld/server/http_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/http_parser.h -------------------------------------------------------------------------------- /meinheld/server/http_request_parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/http_request_parser.c -------------------------------------------------------------------------------- /meinheld/server/http_request_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/http_request_parser.h -------------------------------------------------------------------------------- /meinheld/server/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/input.c -------------------------------------------------------------------------------- /meinheld/server/input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/input.h -------------------------------------------------------------------------------- /meinheld/server/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/log.c -------------------------------------------------------------------------------- /meinheld/server/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/log.h -------------------------------------------------------------------------------- /meinheld/server/meinheld.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/meinheld.h -------------------------------------------------------------------------------- /meinheld/server/picoev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/picoev.h -------------------------------------------------------------------------------- /meinheld/server/picoev_epoll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/picoev_epoll.c -------------------------------------------------------------------------------- /meinheld/server/picoev_kqueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/picoev_kqueue.c -------------------------------------------------------------------------------- /meinheld/server/picoev_select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/picoev_select.c -------------------------------------------------------------------------------- /meinheld/server/request.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/request.c -------------------------------------------------------------------------------- /meinheld/server/request.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/request.h -------------------------------------------------------------------------------- /meinheld/server/response.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/response.c -------------------------------------------------------------------------------- /meinheld/server/response.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/response.h -------------------------------------------------------------------------------- /meinheld/server/server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/server.c -------------------------------------------------------------------------------- /meinheld/server/server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/server.h -------------------------------------------------------------------------------- /meinheld/server/time_cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/time_cache.c -------------------------------------------------------------------------------- /meinheld/server/time_cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/time_cache.h -------------------------------------------------------------------------------- /meinheld/server/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/timer.c -------------------------------------------------------------------------------- /meinheld/server/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/timer.h -------------------------------------------------------------------------------- /meinheld/server/util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/util.c -------------------------------------------------------------------------------- /meinheld/server/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/server/util.h -------------------------------------------------------------------------------- /meinheld/websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/meinheld/websocket.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/setup.py -------------------------------------------------------------------------------- /tests/autobahn_test_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/autobahn_test_server.py -------------------------------------------------------------------------------- /tests/autobahn_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/autobahn_tests.py -------------------------------------------------------------------------------- /tests/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/base.py -------------------------------------------------------------------------------- /tests/fuzzingclient.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/fuzzingclient.json -------------------------------------------------------------------------------- /tests/test_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/test_logger.py -------------------------------------------------------------------------------- /tests/test_schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/test_schedule.py -------------------------------------------------------------------------------- /tests/test_socket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/test_socket.py -------------------------------------------------------------------------------- /tests/test_suspend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/test_suspend.py -------------------------------------------------------------------------------- /tests/test_wsgi_evil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/test_wsgi_evil.py -------------------------------------------------------------------------------- /tests/test_wsgi_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/test_wsgi_spec.py -------------------------------------------------------------------------------- /tests/wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tests/wallpaper.jpg -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mopemope/meinheld/HEAD/tox.ini --------------------------------------------------------------------------------