Matt Johnston
|
275611fbaa
|
Make main socket nonblocking. Limit writequeue size.
|
2015-03-20 23:36:42 +08:00 |
|
Matt Johnston
|
a070159cc5
|
Fix when iov queue is large
|
2015-03-20 23:33:45 +08:00 |
|
Matt Johnston
|
20f9683ae0
|
avoid malloc for iovec
|
2015-03-20 22:53:32 +08:00 |
|
Matt Johnston
|
dce384668b
|
dropbear_assert() rather than assert()
|
2015-03-16 21:33:01 +08:00 |
|
Matt Johnston
|
67b4fa313e
|
strdup strerror
|
2015-03-11 23:10:27 +08:00 |
|
Matt Johnston
|
5dff74109e
|
Fix error handling for dbclient async connect
|
2015-03-03 20:53:00 +08:00 |
|
Matt Johnston
|
20d970a0e2
|
more changes
|
2015-03-02 21:40:06 +08:00 |
|
Matt Johnston
|
94734ad377
|
changes (also testing hg bookmarks)
|
2015-03-02 21:29:49 +08:00 |
|
Matt Johnston
|
14ad6a5972
|
merge
|
2015-03-01 23:27:08 +08:00 |
|
Matt Johnston
|
9e66b5a9b1
|
reword comment for clarity
--HG--
branch : nocircbuffer
|
2015-03-01 23:26:42 +08:00 |
|
Matt Johnston
|
f782cf375a
|
Fix pubkey auth after change to reuse ses.readbuf as ses.payload
(4d7b4c5526c5)
--HG--
branch : nocircbuffer
|
2015-03-01 23:02:06 +08:00 |
|
Matt Johnston
|
3317916111
|
Fix some memory leaks in ecc code
|
2015-03-01 22:44:36 +08:00 |
|
Matt Johnston
|
f367273549
|
allocate buffer and data in a single allocation
--HG--
branch : nocircbuffer
|
2015-03-01 21:16:09 +08:00 |
|
Matt Johnston
|
91ef9b2fa9
|
Avoid malloc in hmac
--HG--
branch : nocircbuffer
|
2015-03-01 14:46:04 +08:00 |
|
Matt Johnston
|
579463933b
|
A bit of a bodge to avoid memcpy if zlib is disabled
--HG--
branch : nocircbuffer
|
2015-03-01 00:57:21 +08:00 |
|
Matt Johnston
|
989c5c1436
|
Avoid copying data into circular buffer
--HG--
branch : nocircbuffer
|
2015-03-01 00:44:45 +08:00 |
|
Matt Johnston
|
3113932151
|
Better failure handling
|
2015-02-28 23:49:39 +08:00 |
|
Matt Johnston
|
125a970d71
|
merge tcp fastopen
|
2015-02-28 23:24:30 +08:00 |
|
Matt Johnston
|
89c0b2a6d8
|
Add cleanup
--HG--
branch : fastopen
|
2015-02-28 23:15:23 +08:00 |
|
Matt Johnston
|
31e379c300
|
merge from default
--HG--
branch : fastopen
|
2015-02-28 09:06:40 +08:00 |
|
Matt Johnston
|
843953379c
|
EINPROGRESS for sendmsg() means it's working OK
--HG--
branch : fastopen
|
2015-02-27 00:02:48 +08:00 |
|
Matt Johnston
|
2a90c1ca7e
|
ignore any sendmsg() errors
--HG--
branch : fastopen
|
2015-02-26 23:43:12 +08:00 |
|
Thorsten Horstmann
|
59bb1777be
|
Use m_burn rather than memset
|
2015-02-24 22:48:14 +08:00 |
|
Thorsten Horstmann
|
c5f3c550a6
|
Avoid cppcheck warning
|
2015-02-24 22:41:26 +08:00 |
|
Matt Johnston
|
1809f741cb
|
Add more ATTRIB_NORETURN annotations, from Thorsten Horstmann
|
2015-02-24 22:36:20 +08:00 |
|
Matt Johnston
|
9adfff5c1a
|
Revert accidental commented out signal handlers
|
2015-02-24 22:23:32 +08:00 |
|
Matt Johnston
|
8008b595d3
|
Some additional cleanup functions
|
2015-02-24 22:17:04 +08:00 |
|
Matt Johnston
|
21bed0d21a
|
Free memory before exiting. Based on patch from Thorsten Horstmann.
Client side is not complete.
|
2015-02-24 22:01:33 +08:00 |
|
Matt Johnston
|
4b1f5ec7c2
|
Use m_close() which will avoid close(-1)
|
2015-02-24 20:53:32 +08:00 |
|
Thorsten Horstmann
|
ab9439519a
|
Fix for old compilers, variable declarations at beginning of functions
and /**/ comments
|
2015-02-24 20:51:18 +08:00 |
|
Thorsten Horstmann
|
abeb9d64a3
|
Some minor typo fixes, found by codespell.
|
2015-02-24 20:45:07 +08:00 |
|
Thorsten Horstmann
|
fdb7ffa864
|
DROPBEAR_ prefix for include guards to avoid collisions
|
2015-02-24 20:43:01 +08:00 |
|
Matt Johnston
|
46845fd3e8
|
get rid of some unnecessary code
--HG--
branch : fastopen
|
2015-02-21 00:43:32 +08:00 |
|
Matt Johnston
|
c53ca6ebc0
|
avoid some warnings
--HG--
branch : fastopen
|
2015-02-20 23:43:59 +08:00 |
|
Matt Johnston
|
f04a3a2cfa
|
Fixes for backwards compatibility
--HG--
branch : fastopen
|
2015-02-20 23:38:05 +08:00 |
|
Matt Johnston
|
364a53577e
|
Move generic network routines to netio.c
--HG--
branch : fastopen
|
2015-02-20 23:16:38 +08:00 |
|
Matt Johnston
|
1b1997bf2d
|
Update priority once the socket is open
--HG--
branch : fastopen
|
2015-02-20 22:13:53 +08:00 |
|
Matt Johnston
|
34f9adb1c9
|
merge
--HG--
branch : fastopen
|
2015-02-19 22:42:30 +08:00 |
|
Matt Johnston
|
2e7d468b90
|
Add the missing second half of iov code
--HG--
branch : fastopen
|
2015-02-19 22:41:51 +08:00 |
|
Matt Johnston
|
86a717c80c
|
fallback for old glibc and fastopen
memset rather than = {0} initialiser
--HG--
branch : fastopen
|
2015-02-19 22:33:51 +08:00 |
|
Matt Johnston
|
76a3eb393c
|
In theory TFO should work. Needs platform cleanup and testing
--HG--
branch : fastopen
|
2015-02-19 00:32:00 +08:00 |
|
Matt Johnston
|
5f0cc969a0
|
generalise write iovec handling
--HG--
branch : fastopen
|
2015-02-18 23:02:49 +08:00 |
|
Matt Johnston
|
755c1458f0
|
async connections working
--HG--
branch : fastopen
|
2015-02-18 22:46:15 +08:00 |
|
Matt Johnston
|
8795d733ec
|
work in progress for async connect
--HG--
branch : fastopen
|
2015-02-18 00:05:27 +08:00 |
|
Matt Johnston
|
28f61c8b3a
|
tcp fastopen for the server
--HG--
branch : fastopen
|
2015-02-15 22:34:05 +08:00 |
|
Matt Johnston
|
9abcc7b909
|
connect_remote() is now always non-blocking
|
2015-02-14 09:56:11 +08:00 |
|
Matt Johnston
|
2c35f1c8fd
|
Add envirnonment variable for debug timestamps to roughly match
network timestamps (in tshark)
|
2015-02-13 23:47:53 +08:00 |
|
Matt Johnston
|
136188259e
|
Fix print that no longer works since we're not using fourCCs
|
2015-02-13 23:17:23 +08:00 |
|
Matt Johnston
|
02179b1218
|
merge
|
2015-02-13 23:15:12 +08:00 |
|
Matt Johnston
|
1e350de136
|
Make it compile
|
2015-02-13 23:13:58 +08:00 |
|