Skip to content

Commit aab395a

Browse files
committed
Make sockets blocking by default
1 parent cbcfeea commit aab395a

File tree

1 file changed

+1
-3
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/socket

1 file changed

+1
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/socket/PSocket.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ private static InetSocketAddress getEphemeralAddress() {
110110

111111
private ServerSocketChannel serverSocket;
112112

113-
// TODO this should be true by default, but until we have threads, blocking sockets cause too
114-
// many deadlocks in the tests
115-
private boolean blocking = false;
113+
private boolean blocking = true;
116114

117115
private HashMap<Object, Object> options;
118116

0 commit comments

Comments
 (0)