Changeset 56911ce for benchmark/io


Ignore:
Timestamp:
Jan 12, 2021, 2:27:56 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
075b8fd
Parents:
7dafb7b
Message:

Close file descriptor when other side says it's closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/worker.cfa

    r7dafb7b r56911ce  
    5959                        if( closed ) {
    6060                                if( options.log ) printf("=== Connection closed ===\n");
     61                                close(fd);
    6162                                continue CONNECTION;
    6263                        }
Note: See TracChangeset for help on using the changeset viewer.