#0 http_read_headers (C=0x93f050, host=0x75df20 "localhost") at http.c:310 305: return h; 306: } 307: if(line[x] == '\n') break; 308: x ++; 309: } 310: line[x]=0; 311: /* strip trailing CR */ 312: if (x > 0 && line[x-1] == '\r') line[x-1]=0; 313: if( strncasecmp( line, "http", 4 ) == 0 ){ 314: strncpy( h->head, line, 8 ); 315: h->code = atoi( line + 9 ); #1 0x0000000000403b5e in http_request (C=0x93f050, U=0x75df80, client=0x639ac0) at client.c:294 289: } 290: } 291: /** 292: * read from socket and collect statistics. 293: */ 294: head = http_read_headers(C, U->hostname); 295: if(!head){ C->connection.reuse = 0; socket_close(C); return FALSE; } 296: bytes = http_read(C); 297: if( !my.zero_ok && (bytes < 1) ){ 298: C->connection.reuse = 0; 299: socket_close(C); #2 0x0000000000404346 in start_routine (client=0x639ac0) at client.c:146 141: printf("y out of bounds: %d >= %d", y, my.length); 142: y = 0; 143: } 144: 145: if(client->U[y]->hostname != NULL){ 146: if((ret = http_request(C, client->U[y], client))==FALSE){ 147: increment_failures(); 148: } 149: } 150: 151: if(my.failures > 0 && my.failed >= my.failures){ #3 0x0000000000405e31 in crew_thread (crew=) at crew.c:134 129: } 130: if((c = pthread_mutex_unlock(&(this->lock))) != 0){ 131: joe_fatal("pthread unlock"); 132: } 133: 134: (*(workptr->routine))(workptr->arg); 135: 136: free(workptr); 137: } 138: 139: return(NULL); #4 0x00002b91f5120317 in start_thread () from /lib/libpthread.so.0 #5 0x00002b91f5bd7d5d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? ()