mmazi / rescu

A lightweight json Rest client utility for JAX-RS
MIT License
65 stars 60 forks source link

Prevent persistent connections #145

Open andre77 opened 1 year ago

andre77 commented 1 year ago

Not really an issue, more a question. Is there a way to prevent persistent connections using rescu? We have issues with a server, which sends Connection='[keep-alive]' But we need to drop the connection and create a new one for every request.

mmazi commented 1 year ago

I'm not really sure. There's a related issue #5 and the corresponding commit 17761414a4b9c1dd0abd484f9f2a2218d5fd5cc2 though, perhaps check out the code.