Changeset 9715567 for benchmark/io/http


Ignore:
Timestamp:
Jan 28, 2021, 9:47:29 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:
eeb4866
Parents:
761a246
Message:

Didn't save correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/http_ring.cpp

    r761a246 r9715567  
    277277
    278278        // Handle a new request, results for getting an cqe while in the REQUESTING state
    279         void newrequest(struct io_uring * ring, int ret) {
     279        void newrequest(struct io_uring * ring, int res) {
    280280                // Check errors
    281                 if( ret < 0 ) {
    282                         int err = -ret;
     281                if( res < 0 ) {
     282                        int err = -res;
    283283                        switch(err) {
    284284                                case EPIPE:
     
    304304
    305305                // Is this an EOF
    306                 if(ret == 0) {
     306                if(res == 0) {
    307307                        // Yes, close the connection
    308308                        this->close(0);
Note: See TracChangeset for help on using the changeset viewer.