Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15096 Details for
Bug 25385
memcached's php client can run in an infinite loop
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix infinite loop problem
diff.txt (text/plain), 383 bytes, created by
Stuart Herbert (RETIRED)
on 2003-07-27 13:48:59 UTC
(
hide
)
Description:
Patch to fix infinite loop problem
Filename:
MIME Type:
Creator:
Stuart Herbert (RETIRED)
Created:
2003-07-27 13:48:59 UTC
Size:
383 bytes
patch
obsolete
>--- MemCachedClient.inc.php 2003-07-27 21:25:37.000000000 +0100 >+++ MemCachedClient.inc.php2 2003-07-27 21:29:03.000000000 +0100 >@@ -267,10 +267,11 @@ > $host = $this->buckets[$hv % $this->bucketcount]; > $sock = $this->sock_to_host($host); > >- if($sock) >+ if(is_resource($sock)) > return $sock; > > $hv += $this->_hashfunc($tries); >+ $tries++; > } > > return null;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25385
:
15096
|
15101
|
15113
|
101892
|
101893