Skip to content

Commit

Permalink
Update libcurl webports and dependencies for IPv6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman committed Sep 3, 2017
1 parent 584d504 commit fb5988f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libchelper.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <sys/timeb.h>
#include <sys/time.h>
#include <stdlib.h>

// This function is defined but not implemented by newlib
int ftime(struct timeb *tp) {
Expand All @@ -15,4 +16,11 @@ int ftime(struct timeb *tp) {
tp->dstflag = 0;

return 0;
}
}

// This function is required for libcurl to link but never
// called using by any of the APIs we use
unsigned alarm(unsigned seconds) {
abort();
return 0;
}
1 change: 1 addition & 0 deletions libgamestream/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ int http_request(char* url, PHTTP_DATA data) {
curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1L);
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 3L);
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L);
curl_easy_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, 0L);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, data);
curl_easy_setopt(curl, CURLOPT_URL, url);

Expand Down
Binary file modified ports/lib/pnacl/Release/libcrypto.a
Binary file not shown.
Binary file modified ports/lib/pnacl/Release/libcurl.a
Binary file not shown.
Binary file modified ports/lib/pnacl/Release/libssl.a
Binary file not shown.
Binary file modified ports/lib/pnacl/Release/libz.a
Binary file not shown.

0 comments on commit fb5988f

Please sign in to comment.