Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
Receiving ping pong on closed connection

I am using nodejs and ws to create a websocket server. The server runs behind a nginx proxy. I have written a c client using libwebsocket which connects to this client. This setup works well for couple of days but after that connection is reported closed on nodejs server but client still continues to receive pong for each ping it sends.

Nginx config is as followes

proxy-connect-timeout:120 proxy-read-timeout:3600 proxy_send_timeout:3600

in libwebsocket

ka_time : 10s; ka_probes: 3; ka_interval: 120s; ws_ping_pong_interval: 120s

Question 1) Does nginx send response to ping sent by client? Question 2) What can be the config to avoid this?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!