walkor / webman

Probably the fastest PHP web framework in the world.
https://webman.workerman.net/
MIT License
2.19k stars 214 forks source link

Workerman 啥时候支持下 HTTP/2, 这样能写GRPC Server了 #157

Open weijer opened 3 years ago

weijer commented 3 years ago

RT

weijer commented 3 years ago

amphp/hpack

看了下是用nghttp2实现的 http2,workerman 能否整合

try {
            self::$ffi = FFI::cdef($header, 'libnghttp2.so');
        } catch (\Throwable $exception) {
            self::$ffi = FFI::cdef($header, 'libnghttp2.dylib');
        }
a6965921 commented 3 years ago

你不用nginx反向代理的吗。。。。

MarkGor commented 3 years ago

你不用nginx反向代理的吗。。。。

單做RPC,nginx作用不大。 但話說,apiserver 支持http2 感覺作用不大吧?