Skip to content

Instantly share code, notes, and snippets.

@davidstrauss
Created May 8, 2013 02:33
Show Gist options
  • Save davidstrauss/5537793 to your computer and use it in GitHub Desktop.
Save davidstrauss/5537793 to your computer and use it in GitHub Desktop.
--- curl-7.24.0/lib/nss.c 2013-05-07 16:14:03.713121076 -0700
+++ curl-7.24.0.patch/lib/nss.c 2013-05-07 16:48:31.390403275 -0700
@@ -1484,3 +1484,3 @@ static ssize_t nss_recv(struct connectda
- nread = PR_Recv(conn->ssl[num].handle, buf, (int)buffersize, 0, -1);
+ nread = PR_Recv(conn->ssl[num].handle, buf, (int)buffersize, 0, PR_INTERVAL_NO_WAIT);
if(nread < 0) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment