Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out why req$ arguments linger between requests. #12

Closed
trestletech opened this issue Jun 16, 2015 · 5 comments
Closed

Figure out why req$ arguments linger between requests. #12

trestletech opened this issue Jun 16, 2015 · 5 comments
Labels
type: bug Maintainers have validated that it is a real bug in the project code

Comments

@trestletech
Copy link
Contributor

I think it's a bug in httpuv. Come up with a workaround and report it if so.

@trestletech trestletech added the type: bug Maintainers have validated that it is a real bug in the project code label Jun 16, 2015
@trestletech
Copy link
Contributor Author

@trestletech
Copy link
Contributor Author

rstudio/httpuv#49

@codecheetos
Copy link

With a simple httpuv listener, setting the HTTP_CONNECTION to "close" did the trick. By default the connection is set to "Keep-Alive".

req$HTTP_CONNECTION <- 'close'

@codecheetos
Copy link

Is there plans to fix this issue in future?

@trestletech
Copy link
Contributor Author

We "solved" this using the same approach you suggested above in https://github.com/trestletech/plumber/blob/f292ef032aa58ae2871edbd9be60e720698dc5b8/R/response.R#L25-L27 which is how I closed the ticket.

But the underlying issue in httpuv is still open and is being tracked here: rstudio/httpuv#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Maintainers have validated that it is a real bug in the project code
Projects
None yet
Development

No branches or pull requests

2 participants