teddysun / xray-plugin

A SIP003 plugin based on Xray-core
MIT License
356 stars 64 forks source link

xray-plugin支持HTTPUpgrade吗?怎么写? #23

Closed PHCSJC closed 2 months ago

PHCSJC commented 8 months ago

xray-core v1.8.9官方支持了HTTPUpgrade传输方式,可以用来套CDN

大佬的插件也更新到v1.8.9了,那xray-plugin支持HTTPUpgrade吗?写法是什么呢?

PHCSJC commented 8 months ago

我试了下:mode=HTTPUpgrade 提示:main: failed to parse config > main: unsupported mode:HTTPUpgrade

lxhao61 commented 4 months ago

HTTPUpgrade 应该全小写吧。

fluggelgleckheimlen commented 1 month ago

HTTPUpgrade is not available in the code, so you can't enable it: https://github.com/teddysun/xray-plugin/blob/96a75e491a3400935fa58861ad4342027cddd4e0/main.go#L34-L38