Ignore:
Timestamp:
Sep 19, 2022, 8:11:02 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
aa9f215
Parents:
ebf8ca5 (diff), ae1d151 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

fix merge conflict

File:
1 edited

Legend:

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

    rebf8ca5 r23a08aa0  
    145145                if( options.log ) mutex(sout) sout | "=== Accepting connection ===";
    146146                int fd = cfa_accept4( this.sockfd, this.[addr, addrlen, flags], CFA_IO_LAZY );
    147                 if(fd < 0) {
     147                if(fd <= 0) {
    148148                        if( errno == ECONNABORTED ) break;
    149149                        if( this.done && (errno == EINVAL || errno == EBADF) ) break;
    150                         abort( "accept error: (%d) %s\n", (int)errno, strerror(errno) );
     150                        abort( "accept error %d: (%d) %s\n", fd, (int)errno, strerror(errno) );
    151151                }
    152152                if(this.done) break;
Note: See TracChangeset for help on using the changeset viewer.