274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
if (memcmp(tmpbuf, "\r\n", 2) == 0) {
break;
}
}
filed_log_msg("GOT_HEADERS FD=...");
fflush(fp);
/* We only handle the "GET" method */
if (strcasecmp(method, "get") != 0) {
return(NULL);
}
return(path);
}
|
<
<
|
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
if (memcmp(tmpbuf, "\r\n", 2) == 0) {
break;
}
}
filed_log_msg("GOT_HEADERS FD=...");
/* We only handle the "GET" method */
if (strcasecmp(method, "get") != 0) {
return(NULL);
}
return(path);
}
|