-
-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixups for TCP (testing needed) as well, and limit the close wait
- Loading branch information
Showing
3 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright 2019 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2024 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2018 Capitar IT Group BV <[email protected]> | ||
// Copyright 2019 Devolutions <[email protected]> | ||
// | ||
|
@@ -24,16 +24,18 @@ struct nni_tcp_conn { | |
nni_win_io conn_io; | ||
nni_list recv_aios; | ||
nni_list send_aios; | ||
nni_aio * conn_aio; | ||
nni_aio *conn_aio; | ||
SOCKADDR_STORAGE sockname; | ||
SOCKADDR_STORAGE peername; | ||
nni_tcp_dialer * dialer; | ||
nni_tcp_dialer *dialer; | ||
nni_tcp_listener *listener; | ||
int recv_rv; | ||
int send_rv; | ||
int conn_rv; | ||
bool closed; | ||
char buf[512]; // to hold acceptex results | ||
bool sending; | ||
bool recving; | ||
nni_mtx mtx; | ||
nni_cv cv; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters