summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-09-25 18:34:14 +0530
committerAnand Avati <avati@gluster.com>2011-09-25 18:45:12 +0530
commitb894944857a7ce61a3bd31566d6169ed8d19ce8b (patch)
treea0bdd8d751f8adf8e527715ea1d4ad40edf1cc22 /cli
parent76580479033087f6dde080c27618baf19b18b658 (diff)
rpc: fix wrong wiping of state machine's state
The macro __socket_proto_read() is used to read one sub-header in a fragment after another. It also has to 'get out' of the state machine's switch/case construct in two situations - a) finished reading the full header b) after a partial read, (and return in the same state at next pollin) The 'reset' of the state should happen only after a full read of the header and not if there was a partial read of the header. Change-Id: I3650a83e1fae0f317cfd1b549835c72e39dc5253
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions