projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba4cd9
)
Latency will be a lot better if we actually select on the right fd
author
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 29 Sep 2008 01:15:33 +0000
(
02:15
+0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 29 Sep 2008 01:15:33 +0000
(
02:15
+0100)
dtls.c
patch
|
blob
|
history
diff --git
a/dtls.c
b/dtls.c
index
1a70d28
..
2c370a2
100644
(file)
--- a/
dtls.c
+++ b/
dtls.c
@@
-203,7
+203,7
@@
int setup_dtls(struct anyconnect_info *vpninfo)
fcntl(vpninfo->dtls_fd, F_SETFL, fcntl(vpninfo->dtls_fd, F_GETFL) | O_NONBLOCK);
- vpn_add_pollfd(vpninfo, vpninfo->
ssl
_fd, POLLIN|POLLHUP|POLLERR);
+ vpn_add_pollfd(vpninfo, vpninfo->
dtls
_fd, POLLIN|POLLHUP|POLLERR);
vpninfo->last_dtls_rx = vpninfo->last_dtls_tx = time(NULL);
if (verbose)