https://github.com/chenhg5/httpserver-php
a http server writed by php which support serval nerwork model for practice
https://github.com/chenhg5/httpserver-php
Last synced: 9 months ago
JSON representation
a http server writed by php which support serval nerwork model for practice
- Host: GitHub
- URL: https://github.com/chenhg5/httpserver-php
- Owner: chenhg5
- Created: 2018-04-14T00:27:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T03:11:30.000Z (over 5 years ago)
- Last Synced: 2025-01-25T11:26:44.528Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# httpserver-php
a http server writed by php which support several network models.
## flow
```
start -> read config -> initialize -> fork process -> read and parse request
-> process request -> cgi/response -> write log
```
## todo
- [X] multi process model
- [X] multi thread model
- [X] select/poll model
- [X] epoll/kqueue model
- [X] reator model
- [X] http parser
- [X] logger
- [ ] fastcgi protocol
- [ ] load balance
- [ ] cache response
- [ ] https support
- [ ] http 2.0 protocol
- [ ] multi language
- [ ] monitoring
- [ ] rate limit