Changeset 3ac66f69 in mainline


Ignore:
Timestamp:
2010-12-25T16:32:55Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09178b7f, b2d06fa
Parents:
6eb794a
Message:

Set socket state to SYN_SENT when sending SYN packet during connect() (fixes connect() not responding to SYN,ACK).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp.c

    r6eb794a r3ac66f69  
    18031803                        fibril_rwlock_write_unlock(socket_data->local_lock);
    18041804
     1805                        socket_data->state = TCP_SOCKET_SYN_SENT;
     1806
    18051807                        /* Send the packet */
    18061808                        printf("connecting %d\n", packet_get_id(packet));
Note: See TracChangeset for help on using the changeset viewer.