Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 6 years ago

Closed 6 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 Changed 6 years ago by Jiri Svoboda

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

comment:2 Changed 6 years ago by Jiri Svoboda

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 Changed 6 years ago by Jiri Svoboda

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