Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F5490743
D26089.1750128156.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
816 B
Referenced Files
None
Subscribers
None
D26089.1750128156.diff
View Options
diff --git a/src/future/http/HTTPFuture.php b/src/future/http/HTTPFuture.php
--- a/src/future/http/HTTPFuture.php
+++ b/src/future/http/HTTPFuture.php
@@ -179,7 +179,7 @@
return null;
}
- $ok = stream_set_blocking($socket, 0);
+ $ok = stream_set_blocking($socket, false);
if (!$ok) {
throw new Exception(pht('Failed to set stream nonblocking.'));
}
diff --git a/src/hgdaemon/ArcanistHgProxyServer.php b/src/hgdaemon/ArcanistHgProxyServer.php
--- a/src/hgdaemon/ArcanistHgProxyServer.php
+++ b/src/hgdaemon/ArcanistHgProxyServer.php
@@ -355,7 +355,7 @@
$errstr));
}
- $ok = stream_set_blocking($socket, 0);
+ $ok = stream_set_blocking($socket, false);
if ($ok === false) {
throw new Exception(pht('Unable to set socket nonblocking!'));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 17, 02:42 (15 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1880140
Default Alt Text
D26089.1750128156.diff (816 B)
Attached To
Mode
D26089: Correct boolean parameter of stream_set_blocking calls
Attached
Detach File
Event Timeline
Log In to Comment