[pypy-commit] pypy winoverlapped: Modify exceptions to produce connection refused error on client socket failure.

andrewjlawrence pypy.commits at gmail.com
Wed Mar 27 03:35:26 EDT 2019


Author: andrewjlawrence
Branch: winoverlapped
Changeset: r96354:e824a633d633
Date: 2019-03-19 06:04 +0000
http://bitbucket.org/pypy/pypy/changeset/e824a633d633/

Log:	Modify exceptions to produce connection refused error on client
	socket failure.

diff --git a/rpython/rlib/rwin32.py b/rpython/rlib/rwin32.py
--- a/rpython/rlib/rwin32.py
+++ b/rpython/rlib/rwin32.py
@@ -261,7 +261,7 @@
                 132: 13, 145: 41, 158: 13, 161: 2, 164: 11, 167: 13, 183: 17,
                 188: 8, 189: 8, 190: 8, 191: 8, 192: 8, 193: 8, 194: 8,
                 195: 8, 196: 8, 197: 8, 198: 8, 199: 8, 200: 8, 201: 8,
-                202: 8, 206: 2, 215: 11, 232: 32, 267: 20, 1816: 12,
+                202: 8, 206: 2, 215: 11, 232: 32, 267: 20, 1816: 12, 1225: 111,
                 }
         return errors, errno.EINVAL
 


More information about the pypy-commit mailing list