Opened 11 years ago

Closed 11 years ago

#559 closed defect (fixed)

TCP server crashes upon second connection attempt to netspeed

Reported by: Jiri Svoboda Owned by: Jiri Svoboda
Priority: major Milestone: 0.6.0
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description (last modified by Jiri Svoboda)

In HelenOS run:

  • netspeed tcp server 1234 4096

in Linux run:

  • iperf -c <address> -p 1234

after iperf finishes, netspeed displays an error and terminates. Now run iperf again with the same parameters - TCP server crashes.

Change History (3)

comment:1 by Jiri Svoboda, 11 years ago

Description: modified (diff)
Summary: TCP crashes upon second connection attempt to netspeedTCP server crashes upon second connection attempt to netspeed

comment:2 by Jiri Svoboda, 11 years ago

When a TCP socket is closed we did not call tcp_uc_close() on the listening connections array. Also, tcp_uc_close() did not work properly on listening connections - attempting to send a FIN, instead of resetting and removing the connection.

Fixed in mainline,2013.

comment:3 by Jiri Svoboda, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.