r97627 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r97626
|
r97627
|
r97628
>
Date:
13:57, 20 September 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Fix for
r97328
: use SOL_SOCKET instead of SOL_UDP; fixes E_WARNING
Modified paths:
/trunk/phase3/includes/GlobalFunctions.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/GlobalFunctions.php
—
—
@@ -869,7 +869,7 @@
870
870
}
871
871
872
872
$len = strlen( $text );
873
- $maxLen = socket_get_option( $sock, SOL_UDP, SO_SNDBUF );
873
+ $maxLen = socket_get_option( $sock, SOL_SOCKET, SO_SNDBUF );
874
874
875
875
if ( $len > $maxLen ) {
876
876
$len = $maxLen - 1;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r97328
Noticed in apache error logs (see below). If the length of the message is lon...
reedy
20:08, 16 September 2011
Status & tagging log
03:45, 22 September 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r97627
[
removed:
new
added:
ok]