Results 9 comments of xufanglu

I think you just introduce a new bug. When `$_SERVER['REQUEST_URI']` doesn't contain `csurl=some.url` preg_replace will not working. The following code should work: ```php $server_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $response_header = 'Location:...

It is clear that Fetch is a better approach,but I want to keep the example as simple as possible.

The response 'close' event and the 'destroy' method are the correct alternatives https://github.com/http-party/node-http-proxy/pull/1580

@KevinKaiwenZheng Perhaps for the time being you could refer to this project https://github.com/transitive-bullshit/chatgpt-api/blob/main/src/types.ts which this api originally based.

@waylaidwanderer I personally don't use TS too which is why i prefer your current version。

> uld you also update the examples and readme too? @waylaidwanderer sure, i'll try my best

@waylaidwanderer Example and README.md of stream API are updated.

> Indeed, go can be compiled into wasm, but wasm (browser) does not seem to support transport layer APIs, such as bind and listen a address by [unknown](https://t.me/brookgroup) That's why...

@nekohasekai have made a tested fork of quic-go that supports ECH. ECH support is extracted from crypto/tls in cloudflare/go. Source: https://github.com/SagerNet/quic-go/commits/dev _Originally posted in https://github.com/quic-go/quic-go/issues/3905#issuecomment-1700389609