Changeset e95a117 for benchmark/io/http/protocol.cfa
- Timestamp:
- Jul 20, 2020, 10:23:32 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 289a21c
- Parents:
- 2ecbd7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/protocol.cfa
r2ecbd7b re95a117 75 75 for() { 76 76 int ret = cfa_read(fd, it, count); 77 if(ret == 0 ) return [OK200, true, 0p, 0]; 77 78 if(ret < 0 ) { 78 if( errno ) return [OK200, true, 0p, 0];79 79 if( errno == EAGAIN || errno == EWOULDBLOCK) continue READ; 80 80 abort( "read error: (%d) %s\n", (int)errno, strerror(errno) );
Note: See TracChangeset
for help on using the changeset viewer.