You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i don't control the nginx proxy which belong to the cdn provider. the problem is that i am billed based on the amount of requests which goes through nginx proxy. That is why i want to make xhttp xmux do the less possible requests without sacrificing performance.
So currently what xray does is that in the downloading stream it opens connections up to 14 before starting reusing like it is said in the docs. But the problem is that when downstream connection is not used it closes it and re-opens another one later. what will be good is that when a downstream connection is opened is stay open even if there is no sub-connection on it so that xray must proxy a sub connection it just uses one instead of recreating a xmux client.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
So i learnt and tested xhttp and xmux settings. I currently have this streamSettings
I have this setup
xray client (android library) -> nginx proxy (tls termination + h2 -> http/1.1 downgrade) -> envoy proxy -> xray server
i don't control the nginx proxy which belong to the cdn provider. the problem is that i am billed based on the amount of requests which goes through nginx proxy. That is why i want to make xhttp xmux do the less possible requests without sacrificing performance.
So currently what xray does is that in the downloading stream it opens connections up to 14 before starting reusing like it is said in the docs. But the problem is that when downstream connection is not used it closes it and re-opens another one later. what will be good is that when a downstream connection is opened is stay open even if there is no sub-connection on it so that xray must proxy a sub connection it just uses one instead of recreating a xmux client.
here are some logs
how can i achieve static xmux clients count ?
All reactions