aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs/examples/event_test.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-01-27 12:11:23 +0100
committerPatrik Nyblom <[email protected]>2011-02-21 15:13:02 +0100
commit3c10f18499b9b3f713ac48ca5973869778cf4df9 (patch)
tree673c3a7441c0ff05798a89e169ec52992b49c088 /lib/gs/examples/event_test.erl
parentc478e3fda9b244fe49da78e6a64021b40a792688 (diff)
downloadotp-3c10f18499b9b3f713ac48ca5973869778cf4df9.tar.gz
otp-3c10f18499b9b3f713ac48ca5973869778cf4df9.tar.bz2
otp-3c10f18499b9b3f713ac48ca5973869778cf4df9.zip
Add patch from Per Hedeland
Per H @ Tail-f: The original code here had problems that possibly only occur if you abuse it for non-INET sockets, but anyway: a) If the getsockopt for SO_PRIORITY or IP_TOS failed, the actual requested setsockopt was never even attempted. b) If {get,set}sockopt for one of IP_TOS and SO_PRIORITY failed, but ditto for the other worked and that was actually the requested option, failure was still reported to erlang.
Diffstat (limited to 'lib/gs/examples/event_test.erl')
0 files changed, 0 insertions, 0 deletions