~the-test-people/selenium-simple-test/windows-fixes

Viewing all changes in revision 446.

  • Committer: Peter Russell
  • Date: 2014-02-25 15:26:23 UTC
  • Revision ID: peter.russell@thetestpeople.com-20140225152623-kta9riezp9uo7fcr
When trying to detect if Django is running, don't set SO_REUSEADDR on Windows.

Setting SO_REUSEADDR on a socket on Windows, allows the port to be reused
as well, meaning that it's not a good way of detecting if the port is in
use.  But Windows allows binding even when the port is in the wait state,
so we don't need it anyway.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: