Swoole-src: Swoole HTTP /1.1 specifications Compliance

Created on 5 Jun 2018  ·  5Comments  ·  Source: swoole/swoole-src

According to the documentation, Swoole is not yet recommended to replace traditional HTTP servers such as nginx or Apache.
swoole_http_server does not support the complete HTTP protocol, Nginx is recommended to be used as a proxy for Swoole HTTP server.

My question is what exactly is it missing in the implementation?

question

Most helpful comment

@aftabnaveed
e.g.

1600 http2 static files support

1606 if you send a non-standard HTTP package, swoole can't parse it but nginx can do more(auto fix the lost space).

too many details like these so I can't tell you every detail totally.
swoole keep the simple and fast, only do what it should do.

All 5 comments

Details

@twose What exactly do you mean by the details here?

@aftabnaveed
e.g.

1600 http2 static files support

1606 if you send a non-standard HTTP package, swoole can't parse it but nginx can do more(auto fix the lost space).

too many details like these so I can't tell you every detail totally.
swoole keep the simple and fast, only do what it should do.

Nice, but the question is about Http /1.1 I guess it would be somewhat similar to what you just described for Http2.

It is difficult to give an explicit list, the HTTP protocol is very complicated, and web servers also need to be compatible with many bad cases

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndyChanCode picture AndyChanCode  ·  3Comments

daslicht picture daslicht  ·  4Comments

andreybolonin picture andreybolonin  ·  4Comments

chenye2017 picture chenye2017  ·  3Comments

godtail picture godtail  ·  4Comments