- 25 Apr, 2014 30 commits
-
-
Philip Withnall authored
-
Philip Withnall authored
This introduces no functional changes, but consolidates and documents the code a bit more.
-
Philip Withnall authored
Use a NULL check to determine if upnp_mapping is an empty list (rather than counting every element). Use g_slist_free_full() where appropriate. This introduces no functional changes.
-
Philip Withnall authored
It’s in milliseconds.
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
The test for fe80::/10 always returned FALSE.
-
Guillaume Desmottes authored
-
Olivier Crête authored
But keep the turn connection that's currently being used if it is the selected candidate. Also clear the TURN candidate refresh.
-
Olivier Crête authored
Instead of just blindling assuming that all of the pointers are valid until the end.
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
Change the SocketSource handling to make it possible to remove a source, not only to add one.
-
Guillaume Desmottes authored
-
Olivier Crête authored
It can now take it from the agent.
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
Skips one iterator over g_slist_foreach() + g_slist_free(). It is also easier to read.
-
Olivier Crête authored
It is never used outside of this file.
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
- 24 Apr, 2014 5 commits
-
-
Olivier Crête authored
-
Olivier Crête authored
-
Youness Alaoui authored
-
Youness Alaoui authored
-
Youness Alaoui authored
If doing a recv on UDP-TURN, the 'from' address was kept set to the turn server which causes connchecks to fail with "mismatched address" error. This fixes it
-
- 23 Apr, 2014 1 commit
-
-
Guillaume Desmottes authored
Nice to make debug logs more friendly to read.
-
- 17 Apr, 2014 3 commits
-
-
Philip Withnall authored
If an incoming ACK acknowledges part of a pending SSegment, correctly increment the base offset of that SSegment before attempting to transmit it. Otherwise, the wrong data will be transmitted and the offset passed to packet() will be incorrect.
-
Philip Withnall authored
If a packet has an invalid tsecr field, invalid (e.g. negative) RTTs may be calculated from it. If so, discard the packet as invalid.
-
Philip Withnall authored
As documented at the top of the file, this creates two PseudoTcpSockets in a loopback configuration, and mutates the raw packets which are sent between them, hoping to cause assertion failures and illegal memory accesses in the pseudotcp code. Best run under Valgrind or GDB.
-
- 16 Apr, 2014 1 commit
-
-
Philip Withnall authored
If the error handling block in the middle of the recv() loop is hit, various things were previously leaked (context, cancellable_source) and the return values were potentially incorrect. Fix the break out of the error handling block to clean up correctly.
-