Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows and MacOS CI with SCTP/usrsctp #23

Draft
wants to merge 131 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
3d746b2
feat: sctp connection using usrsctp
lchenut Mar 8, 2024
654a69a
feat: added sctp ping&pong examples
lchenut Mar 8, 2024
4b9c506
Unregister address while closing
lchenut Mar 21, 2024
9b51d57
change ci building examples
lchenut Apr 15, 2024
c8a9fd3
Merge remote-tracking branch 'origin/master' into sctp-protocol
lchenut Jul 24, 2024
9b5c58d
chore: split files
lchenut Jul 26, 2024
3aa14e9
chore: expose what should be exposed & removed artifact object fields
lchenut Jul 26, 2024
d09aa30
fix: examples
lchenut Jul 26, 2024
ccf671c
chore: shuffle part of the code to its correct file
lchenut Jul 26, 2024
3f11895
chore: rename handleUpcall into recvCallback
lchenut Jul 26, 2024
a53f87f
chore: remove import & change variable name
lchenut Jul 26, 2024
d6f73ce
feat: check if socket is nil after accepting
lchenut Jul 26, 2024
8910d1e
chore: renaming address into raddr
lchenut Jul 26, 2024
73e4731
chore: rewrite connect / accept to manage error while calling usrsctp…
lchenut Jul 26, 2024
bd5841c
chore: update comment
lchenut Jul 26, 2024
a9df70a
Merge remote-tracking branch 'origin/master' into sctp-protocol
lchenut Aug 13, 2024
b77410b
fix: ci
lchenut Aug 20, 2024
ac65c6f
chore: remove useless field
lchenut Aug 20, 2024
df5eddd
feat: add testsctp & make it work
lchenut Aug 22, 2024
62cc2c7
chore: remove timer handler
lchenut Aug 23, 2024
2d2f012
Merge remote-tracking branch 'origin/master' into sctp-protocol
lchenut Aug 23, 2024
201a163
feat: add async exception tracking
lchenut Aug 23, 2024
4a59265
style: pass nph on sctp files
lchenut Aug 23, 2024
96a363e
feat: add sctp tracker counter
lchenut Aug 23, 2024
197c0c3
fix: readloop is back
lchenut Aug 23, 2024
722db0f
fix: windows ci
lchenut Aug 26, 2024
54612e9
chore: remove raddr from SctpConn
lchenut Aug 26, 2024
ecc4fbb
fix: defined EINPROGRESS when using windows
lchenut Aug 26, 2024
d6b00e5
fix: windows & macos ci
lchenut Aug 26, 2024
6e96abe
feat: add testsctp.nim to runalltest.nim
lchenut Aug 26, 2024
785d2bb
chore: turn on sctp debug
lchenut Aug 26, 2024
c8ebe7e
fix: windows EINPROGRESS error
lchenut Aug 26, 2024
2b1228f
fix: debug all
lchenut Aug 26, 2024
108841d
fix: remove useless code
lchenut Aug 26, 2024
5fcc26d
fix: change EINPROGRESS again
lchenut Aug 27, 2024
57cd0f0
fix: change EINPROGRESS again
lchenut Aug 27, 2024
e914f69
fix: change EINPROGRESS again
lchenut Aug 27, 2024
183d8d5
feat: add a test
lchenut Aug 27, 2024
f317070
chore: move socket/error constant to sctp_utils.nim
lchenut Aug 27, 2024
2a80d57
fix: change EINPROGRESS again
lchenut Aug 27, 2024
3305615
fix: multiple initialization causing issues
lchenut Aug 28, 2024
41a091f
Merge remote-tracking branch 'origin/master' into sctp-protocol
lchenut Aug 30, 2024
b97ffaf
fix: closing sctp connection should close underlying dtls connection
lchenut Aug 30, 2024
f0ff34c
fix: remove printf for windows temporarily
lchenut Aug 30, 2024
a59bb76
fix: add iphlpapi for windows
lchenut Sep 5, 2024
4a80ffd
chore: change add errno to log
lchenut Sep 5, 2024
5f50e55
feat: replace sentFuture by sendQueue
lchenut Sep 6, 2024
374c83d
feat: better use of SctpState
lchenut Sep 6, 2024
0d7f15e
fix: read now raises WebRtcError
lchenut Sep 6, 2024
ab707d4
fix: conninput and connect are now awaited
lchenut Sep 6, 2024
13e4560
fix: readLoop is now stop when SctpConn is closed
lchenut Sep 6, 2024
1d66aac
chore: remove useless code and rewrite trace/warn
lchenut Sep 10, 2024
f231a9d
fix: remove doAssert
lchenut Sep 10, 2024
3647e11
fix: renaming close into stop and change logs
lchenut Sep 10, 2024
baf91b9
chore: move `toFlags` to a more relevant place
lchenut Sep 10, 2024
413f323
feat: close every connection when stopping transport
lchenut Sep 10, 2024
857e5da
chore: remove exposed attributes
lchenut Sep 12, 2024
21e0cfe
chore: add description and remove trace
lchenut Sep 12, 2024
185642b
chore: remove comments & exposition
lchenut Sep 12, 2024
9c6b197
chore: update logs
lchenut Sep 12, 2024
38d40f8
chore: remove outdated comments
lchenut Sep 12, 2024
8d26ed6
chore: update comment
lchenut Sep 12, 2024
3280cae
remove linux from ci
lchenut Sep 17, 2024
bfe84db
add logs
lchenut Sep 17, 2024
ed8d888
update logScope & remote tests
lchenut Sep 17, 2024
bd2b6fa
fix nim flag
lchenut Sep 17, 2024
47b17ed
check usrsctp
lchenut Sep 19, 2024
26c6573
fix
lchenut Sep 19, 2024
1b8fdff
install automake
lchenut Sep 19, 2024
92d3f42
remove windows and checkout usrsctp
lchenut Sep 19, 2024
dc2e322
add logs
lchenut Sep 19, 2024
464f7b5
try modify user_socket.c
lchenut Sep 19, 2024
03eb0ce
change nimble install order
lchenut Sep 19, 2024
7e1472b
change sed command
lchenut Sep 19, 2024
9ede712
sed work weirdly on macos
lchenut Sep 19, 2024
c4f3289
why apple... why
lchenut Sep 19, 2024
8c13dc2
change sed by awk
lchenut Sep 19, 2024
64a5146
newline fix
lchenut Sep 19, 2024
ce63acb
add logs on usrsctp_socket
lchenut Sep 20, 2024
d5e90d4
fix
lchenut Sep 20, 2024
462f6c0
fix macos Sockaddr_conn
lchenut Sep 20, 2024
a83644b
add log to check sconn_len is properly set
lchenut Sep 20, 2024
34ede96
make awk command more modular
lchenut Sep 20, 2024
906a6f4
fix awk one last time
lchenut Sep 20, 2024
0dc4d41
switch to debug windows
lchenut Sep 20, 2024
f09deb3
come on windows, do the thing
lchenut Sep 20, 2024
cb3d264
fix ci.yml
lchenut Sep 20, 2024
f7ae89a
install vs
lchenut Sep 20, 2024
fdfda47
install vs
lchenut Sep 20, 2024
0ede149
remove vs_buildtools.exe
lchenut Sep 20, 2024
94f4dd7
install nmake
lchenut Sep 23, 2024
6f4635a
replace nmake by cmake
lchenut Sep 23, 2024
f8cb895
readd nim install
lchenut Sep 23, 2024
73a48fd
remove bad cmake flag
lchenut Sep 23, 2024
e304023
change cmake flag
lchenut Sep 23, 2024
1f8d97a
build cmake program
lchenut Sep 23, 2024
245769e
remove bad cmake flag
lchenut Sep 23, 2024
9ebdf63
fix cmake
lchenut Sep 23, 2024
5fa4df4
fix
lchenut Sep 23, 2024
4579c69
revert last fix
lchenut Sep 24, 2024
40359dd
add log
lchenut Sep 24, 2024
9aabc86
fix
lchenut Sep 24, 2024
857ddba
add logs
lchenut Sep 24, 2024
81e13a5
fix cache
lchenut Sep 24, 2024
303572b
remove cloning usrsctp
lchenut Sep 27, 2024
6e2a641
printf should work now
lchenut Sep 27, 2024
5ce0d95
remove cmake
lchenut Sep 27, 2024
64f3764
add custom printf
lchenut Sep 27, 2024
d8d53a5
add errno
lchenut Sep 27, 2024
1b1b280
change test to any address
lchenut Sep 27, 2024
a6d609b
any 127.0.0.1 addresses
lchenut Sep 27, 2024
db13033
add comment
lchenut Sep 27, 2024
fe37058
log
lchenut Sep 27, 2024
e3d88cd
change einprogress
lchenut Sep 27, 2024
3184ff2
add cfg to examples
lchenut Sep 27, 2024
3196443
add space
lchenut Sep 27, 2024
b51cb72
test posix einprogress
lchenut Sep 27, 2024
f4fa716
fix
lchenut Sep 27, 2024
2ed4bc4
remove custom created constant and use posix instead
lchenut Sep 27, 2024
0023f09
readd second test
lchenut Sep 27, 2024
136a627
fix
lchenut Oct 3, 2024
8c59a62
only second test
lchenut Oct 3, 2024
9441f56
add logs
lchenut Oct 3, 2024
b2552d6
add logs
lchenut Oct 3, 2024
ee1111d
add logs
lchenut Oct 3, 2024
c67c09a
add logs
lchenut Oct 3, 2024
5b0c124
add logs
lchenut Oct 3, 2024
09d7fcb
add logs
lchenut Oct 3, 2024
53d2b37
only one server
lchenut Oct 3, 2024
29798db
change accept/connect order
lchenut Oct 3, 2024
a5d3f13
readd listen
lchenut Oct 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change einprogress
  • Loading branch information
lchenut committed Sep 27, 2024
commit e3d88cd70a1d4ce8112ccee93ff8cde9a12a85ad
2 changes: 1 addition & 1 deletion webrtc/sctp/sctp_utils.nim
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ when defined(windows):
import winlean
const
SctpAF_INET* = winlean.AF_INET
SctpEINPROGRESS* = winlean.WSAEINPROGRESS.cint
SctpEINPROGRESS* = 112 # ???
else:
const
SctpAF_INET* = nativesockets.AF_INET