Multiple fixes for new test
authorRohan Garg <rohangarg@kubuntu.org>
Mon, 7 May 2012 18:31:48 +0000 (00:01 +0530)
committerRohan Garg <rohangarg@kubuntu.org>
Mon, 7 May 2012 18:34:56 +0000 (00:04 +0530)
commit527b08dd7eaf48d36be23012a8d194ca2601edf8
treea716350366d2b49e16f614968e0524b9f088c1fa
parent6e6a3a0ec32f2a31dfa1c4aa2a80f2b9303a0c83
Multiple fixes for new test

* Make STUN thread drop STUN packets using a global variable
* Completely refactor the way the STUN thread exits
  - Now exit by setting exit_stun_thread as TRUE and sending
    dummy data
  - Remove the old signal mechanism
* Don't set unnecessary socket options
* Lock stun_mutex_ptr before signalling STUN response
tests/test-new-dribble.c