[Solved] Lighttpd RSS Memory increases very high in Websocket Mod proxy using linux platform.
Added by narayan.thakkar about 3 years ago
Hello,
I am facing a very critical issue with lighttpd when using Reverse proxy in WebSocket.
For Reverse proxy I am using below mentioned method
$HTTP["url"] =~ "^/wspp" { setenv.add-request-header = ( "Connection" => "Upgrade") setenv.add-response-header = ( "Connection" => "Upgrade") proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9999" ) ) ) proxy.header = ( "upgrade" => "enable") }
I am sending mjpeg video frames over Websocket connection.
my device memory reaches the maximum limit. Please suggest me with some suitable suggestion.
Replies (4)
RE: Lighttpd RSS Memory increases very high in Websocket Mod proxy using linux platform. - Added by gstrauss about 3 years ago
multi-posting on the same site will earn you harsh words and will get you ignored. Don't do it again.
Before posting, please read How to get support
In your whine for urgent help (in your since-deleted multi-post) and here, you have failed to include even the most basic information such as the version of lighttpd you are using. Please ensure you are using the latest lighttpd version, currently lighttpd 1.4.59.
RE: Lighttpd RSS Memory increases very high in Websocket Mod proxy using linux platform. - Added by gstrauss about 3 years ago
Separate from your issue: specifying "Connection" headers in lighttpd.conf is incorrect and should be removed.
WRONG:
setenv.add-request-header = ( "Connection" => "Upgrade") setenv.add-response-header = ( "Connection" => "Upgrade")
WRONG
RE: Lighttpd RSS Memory increases very high in Websocket Mod proxy using linux platform. - Added by narayan.thakkar about 3 years ago
Hello,
Sorry for the multiple request.
I have tried with below changes:
$HTTP["url"] =~ "^/wspp" { proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9999" ) ) ) proxy.header = ( "upgrade" => "enable") }
Still I facing the same issue.
I am using lighttpd-1.4.55.
Please suggest me the solution.
RE: Lighttpd RSS Memory increases very high in Websocket Mod proxy using linux platform. - Added by gstrauss about 3 years ago
Asked and answered.
Before posting, please read How to get support
Please ensure you are using the latest lighttpd version, currently lighttpd 1.4.59.
Please ask a friend to help you translate.