-
Notifications
You must be signed in to change notification settings - Fork 86
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
Update libuv to v1.x #42
Comments
I did a first pass to update libuv to 1.4.2 and http-parser to 2.4.2. Libuv API changed slightly and was updated accordingly also build seems to have changed since <1.x days. Not sure if my change is the best way to accommodate, feedback welcome. Here for just libuv |
Thanks @actsasflinn! I've pulled your repo and tested briefly. So far so good. Also tested the POSIX implementation of daemonization and it seems to be working. Unfortunately, I couldn't get this version to compile on Windows. Any ideas? |
Yes, likely has to do with configure script for libuv. I'll start up my windows vm tonight and check it out.
|
I tried a few things last night to address Windows. Libuv seems to build ok via Cygwin but build via rtools was a no go. I'll keep plugging away on this.
|
Txs! I'll try to take a look as well |
When I try to force mingw I'm a step closer on windows. However it looks like the version of rtools I'm testing with has an issue with mingw which seems to be fixed in a newer version. See here: http://permalink.gmane.org/gmane.comp.gnu.mingw.w64.general/5953
|
My latest commit seems to work with the dev R and rtools dev packages on Windows. |
Note that the current Rtools dev package is in flux (it is going to shortly On Tue, Mar 17, 2015 at 9:02 PM, Flinn Mueller [email protected]
|
Hey guys, any progress on this? I am using Shiny 0.13.2 with R 3.3.1 and httupv 1.3.3 to run a web app and I keep getting the following message and corresponding abort quite frequently:
I will try @actsasflinn tree and see if libuv 1.4 solves the issue. |
You can also try my libuv-1.8.0 branch. Can you tell me if this problem happens when you do shiny::runExample("01_hello")? Or only with your own app? |
@jcheng5 are you planning on moving to libuv-1.8.0 branch? Should I plan to port daemonization code accordingly? |
Not imminently--I don't have the cycles right now. I believe there was some issue with getting that branch to build on some versions of Red Hat. |
Ok, thanks (out of sight out of mind). Let me know if I should give up on windows daemonization pull request too :-) |
@jcheng5 The uv_close error seems to be gone with libuv 1.4.0, that's good news. Locally my shiny app works perfect with httpuv from CRAN, the error began showing up when the app went live, which makes me think it has to do with concurrency, but I haven't traced it down nor found a way to reproduce it. |
There are some niceties in v1 of libuv that may help daemonizing and error handling. Before I maybe dive in on seeing what it would take to migrate, I thought I should ask if you guys were thinking about it and had started to look into it.
The text was updated successfully, but these errors were encountered: