Max Lv
0cfae045e8
Fix #648
9 years ago
Max Lv
f1464caca7
Fix a typo #642
9 years ago
Max Lv
fe22a6c90b
Refine error handling of connect()
9 years ago
Kim
342bd3f776
Fix ipv6 address format in log message
9 years ago
Max Lv
a73fe213a6
Refine the output
9 years ago
Max Lv
e3deb0668d
Fix the mismatch types
9 years ago
Max Lv
bb50fc22ca
Add option for binding to address #626
9 years ago
Max Lv
41d93b126a
Fix #626
9 years ago
Max Lv
72ee77ea35
Fix #615
9 years ago
Kim
08f873adc7
Roll up year to 2016
9 years ago
Kim
dfa9e17c1b
Add help option
* updated cli option 'help'
- all 5 apps supports cli option '-h' without error exit code
- supports long option '--help'
* fixed bad line brake
9 years ago
Max Lv
ac5f26c6fa
Fix #585
9 years ago
Max Lv
114128668c
Refine helper functions
9 years ago
Syrone Wong
ebe79bbbd8
Refine memory management ( #579 )
- Added one macro to avoid dangling pointers
- Added two functions to perform NULL pointer check
since the allocation is not guaranteed by C library, although it
is a rare case, just for sanity
- Add NULL pointer check to brealloc() and bfree() and for sanity as well
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
53c6a09b93
Reset errno to 0 before checking it
errno is never set to zero by any system call or library function,
and it's programmer's resposibility to reset it before doing checks.
Otherwise the error might be misleading.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Max Lv
ce0561a999
Fix #560
9 years ago
Max Lv
da06378915
Clean up
9 years ago
Max Lv
e669a3a37c
reset peer_name
9 years ago
Kery Wu
a0098cfdb9
Fix the crash issue in free_connections
9 years ago
Max Lv
c18ae5f671
Fix #494
9 years ago
Max Lv
e921f40aa8
Fix #493
9 years ago
Max Lv
52ff163cd6
Fix a build error
9 years ago
Max Lv
47f984e61c
Refine nofile option
9 years ago
Max Lv
d2ef245a05
Refine buffer allocation (2)
9 years ago
crvv
d0cd1b427b
Also refine TCP fastopen
9 years ago
Max Lv
e7a1d1e333
Refine TCP fastopen
9 years ago
crvv
3d6528a565
server side TCP fast open support on Darwin
9 years ago
Max Lv
eeac81e8fa
Refine doc
9 years ago
Max Lv
eccc91d711
Refine ACL support
9 years ago
Max Lv
ef0c87e55b
fix travis build
9 years ago
Max Lv
b0600a8784
Refine buffer handling
9 years ago
Max Lv
f4fa30da5c
Refine buffer handling
9 years ago
Max Lv
a65c162969
fix a typo
9 years ago
Max Lv
25c575cb78
clean up
9 years ago
Max Lv
6d52f0a200
refine the header length check
9 years ago
Max Lv
901457859c
add auth to config
9 years ago
Max Lv
032c609c4d
truncate HMAC-SHA1 to 10 bytes
9 years ago
Max Lv
5292700bbc
update documents
9 years ago
Max Lv
8d46ced3c9
fix auth in udprelay
9 years ago
Max Lv
0e79c93ad1
add auth to udprelay
9 years ago
Max Lv
f3686420ea
fix typos
9 years ago
Max Lv
9f553536cb
Use IV + Chunk id as key of BLAKE2b
9 years ago
Max Lv
552fca1bff
Use one time key for BLAKE2b
9 years ago
Max Lv
d3e43e09a2
Refine the authentication for true CCA
9 years ago
Max Lv
441ac45547
Use one time key for BLAKE2b
9 years ago
Max Lv
1e10661a51
Refine the authentication for true CCA
9 years ago
Max Lv
5ae4df94e4
Update the hash function
9 years ago
Gang Zhuo
50b503803c
fix the protocol document
9 years ago
Max Lv
53c2900b19
refine onetime auth
9 years ago
Max Lv
6d79387715
use crc16
9 years ago