Changeset 24300 for titan/titan/sock.h
- Timestamp:
- 10/14/13 14:48:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/sock.h
r24298 r24300 615 615 len = strtol(chunked, NULL, 16); 616 616 printf("999999999\n"); 617 debug(99, "chunkedlen=%u l", len);617 debug(99, "chunkedlen=%u", len); 618 618 return len; 619 619 } … … 828 828 829 829 end: 830 printf("aaaaaaaa\n"); 830 831 free(tmpbuf); 831 832 if(fd != NULL) fclose(fd); 832 833 sockclose(&sock); 833 834 printf("bbbbbb\n"); 834 835 if(gzip != 0) 835 836 { 837 debug(99, "http unzip start"); 836 838 int unzipret = 0, outlen = 0; 837 839 char* outbuf = NULL; … … 868 870 err("no mem"); 869 871 } 870 } 871 872 debug(99, "http unzip end"); 873 } 874 printf("ccccccccc\n"); 872 875 if(filename == NULL) 873 876 { … … 875 878 buf[count] = '\0'; 876 879 } 877 880 printf("ddddddddd\n"); 878 881 if((hret == 301 || hret == 302) && retstr != NULL && redirect < 3) //redirect 879 882 { … … 898 901 } 899 902 } 900 903 printf("eeeeeeeee\n"); 901 904 redirect++; 902 905 free(buf); buf = NULL; … … 904 907 free(rhost); rhost = NULL; 905 908 } 906 909 printf("ffffffff\n"); 907 910 if(clen != 0) *clen = maxret; 908 911 if(dnode != NULL) dnode->ret = 0; 909 912 free(retstr); retstr = NULL; 910 913 printf("ggggggggggg\n"); 911 914 if(filename == NULL) 912 915 return buf;
Note: See TracChangeset
for help on using the changeset viewer.