Changeset 828 for trunk/zoo-project/zoo-kernel
- Timestamp:
- May 23, 2017, 1:54:31 PM (8 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_js.c
r790 r828 934 934 }else{ 935 935 if(argc==3){ 936 char *body=JSValToChar(cx,&argv[2]); 937 InternetOpenUrl(&hInternet,hInternet.waitingRequests[hInternet.nb],body,strlen(body), 938 INTERNET_FLAG_NO_CACHE_WRITE,0); 939 processDownloads(&hInternet); 940 free(body); 936 if(strncasecmp(method,"GET",3)==0){ 937 header=JSVAL_TO_OBJECT(argv[2]); 938 if(JS_IsArrayObject(cx,header)){ 939 setHeader(&hInternet,cx,header); 940 } 941 InternetOpenUrl(&hInternet,hInternet.waitingRequests[hInternet.nb],NULL,0, 942 INTERNET_FLAG_NO_CACHE_WRITE,0); 943 processDownloads(&hInternet); 944 }else{ 945 char *body=JSValToChar(cx,&argv[2]); 946 InternetOpenUrl(&hInternet,hInternet.waitingRequests[hInternet.nb],body,strlen(body), 947 INTERNET_FLAG_NO_CACHE_WRITE,0); 948 processDownloads(&hInternet); 949 free(body); 950 } 941 951 }else{ 942 952 InternetOpenUrl(&hInternet,hInternet.waitingRequests[hInternet.nb],NULL,0, -
trunk/zoo-project/zoo-kernel/ulinet.c
r827 r828 185 185 * @param proto the protocol requiring the use of a proxy 186 186 */ 187 boolsetProxiesForProtcol(CURL* handle,const char *proto){187 int setProxiesForProtcol(CURL* handle,const char *proto){ 188 188 #ifdef MSG_LAF_VERBOSE 189 189 fprintf( stderr, "setProxiesForProtocol (do nothing) ...\n" );
Note: See TracChangeset
for help on using the changeset viewer.