Changeset 213 in Main for trunk/Server/http.c
- Timestamp:
- Oct 3, 2024, 2:45:40 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/http.c
r212 r213 83 83 int i; 84 84 int len; 85 85 int n; 86 86 #ifndef USE_POLL 87 87 struct timeval tv; … … 344 344 free(req->path); 345 345 req->path = result; 346 346 347 347 incr = 0; 348 348 p = malloc(1); … … 354 354 cbuf[0] = oldc; 355 355 req->path[j] = 0; 356 356 357 357 pth = req->path + incr; 358 358 359 359 if(strcmp(pth, "..") == 0) { 360 360 int k; … … 376 376 free(tmp); 377 377 } 378 378 379 379 incr = j + 1; 380 380 if(oldc == 0) break;
Note:
See TracChangeset
for help on using the changeset viewer.