Merge lp://staging/~trond-norbye/libmemcached/bug_446766 into lp://staging/~tangent-org/libmemcached/trunk
Proposed by
Trond Norbye
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp://staging/~trond-norbye/libmemcached/bug_446766 | ||||
Merge into: | lp://staging/~tangent-org/libmemcached/trunk | ||||
Diff against target: |
61 lines 1 file modified
tests/function.c (+13/-8) |
||||
To merge this branch: | bzr merge lp://staging/~trond-norbye/libmemcached/bug_446766 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Libmemcached-developers | Pending | ||
Review via email: mp+13109@code.staging.launchpad.net |
To post a comment you must log in.
The user_supplied_bug21 tried to run commands using the binary protocol without checking if the server supports the binary protocol. If the server doesn't support the binary protocol it will just spool up data until it encounters a '\n' in the command before it starts parsing the command.
This fix tests if the server support the binary protocol and terminates the test if the server doesn't support it.
Cheers,
Trond