saltstack/salt — pull request #10249 by Stelminator (2014-02-06 23:09:14+00:00)
Title: DRY up a bunch of shared minion code.

Factor out a bunch of setsockopt and initialization.

This makes it much easier to see the actual differences between Minion.tune_in(), Minion.tune_in_no_block(), and MultiMinion.tune_in().