Commit graph

7 commits

Author SHA1 Message Date
Cameron Gutman fb4eec0d30 [IP]
- Fix a small locking issue in TCPClose

svn path=/branches/aicom-network-branch/; revision=44845
2010-01-01 05:58:37 +00:00
Cameron Gutman 8dd3966ba9 [TCPIP, IP]
- Completely rewrite (again) the locking code and use references to ensure that the connection doesn't get freed while completing requests (the most frequent cause of crashes)
 - Remove DrainSignals and complete requests inside HandleSignalledConnection instead of doing them in a separate thread (increases speed a lot)
[OSKITTCP]
 - Don't clear the socket context in OskitTCPClose because we would end up in HandleSignalledConnection without a connection (which we don't support anymore after eliminating DrainSignals)
 - Change the check performed to see if a socket is dying so we support connection dying after calling OskitTCPClose
[AFD]
 - Remove leftover ASSERTs which fail after the changes to tcpip (they were wrong in the first place because we call into tcpip at DISPATCH_LEVEL sometimes)

svn path=/branches/aicom-network-branch/; revision=44839
2009-12-31 23:33:24 +00:00
Cameron Gutman 175500c30b - Forgot this file
svn path=/branches/aicom-network-branch/; revision=44811
2009-12-30 12:53:47 +00:00
Cameron Gutman 2caa9c0981 [IP]
- Bind to the address specified in AddressFile instead of always binding to the outgoing interface's unicast address
 - Get the NCE using the local address (if specified) so we don't end up sending from one interface using another interface's  address as the source

svn path=/branches/aicom-network-branch/; revision=44810
2009-12-30 12:46:14 +00:00
Cameron Gutman 12127c7eeb - Use RouteGetRouteToDestination instead of FindOnLinkInterface so we can get an interface for remote addresses
svn path=/branches/aicom-network-branch/; revision=44565
2009-12-13 16:22:17 +00:00
Cameron Gutman 2cb569197b - Revert 44301
svn path=/branches/aicom-network-branch/; revision=44354
2009-12-02 03:29:17 +00:00
Cameron Gutman 29fa274d6d - Create another branch for networking fixes
- TSVN choked repeatedly when attempting to merge ~9000 revs into the branch (tried 3 times on 2 different computers)
 - If someone wants to delete aicom-network-fixes, they are welcome to
 - Lesson learned: Letting a branch get thousands of revs out of date is a horrible idea

svn path=/branches/aicom-network-branch/; revision=44353
2009-12-02 03:23:19 +00:00