Changes in benchmark/io/http/worker.cfa [8c43d05:b57db73]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/worker.cfa
r8c43d05 rb57db73 97 97 } 98 98 99 if( !options.file_cache.path ) { 100 if( options.log ) { 101 sout | "=== File Not Found (" | nonl; 102 write(sout, file, name_size); 103 sout | ") ==="; 104 } 105 answer_error(fd, E405); 106 continue REQUEST; 107 } 108 99 109 // Get the fd from the file cache 100 110 int ans_fd; … … 104 114 // If we can't find the file, return 404 105 115 if( ans_fd < 0 ) { 106 sout | "=== File Not Found (" | nonl; 107 write(sout, file, name_size); 108 sout | ") ==="; 116 if( options.log ) { 117 sout | "=== File Not Found (" | nonl; 118 write(sout, file, name_size); 119 sout | ") ==="; 120 } 109 121 answer_error(fd, E404); 110 122 continue REQUEST;
Note: See TracChangeset
for help on using the changeset viewer.