diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-10-12 03:54:31 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-12 03:04:05 -0700 |
commit | b9d6e0c879feb9d86cdadf4072a7ebeb5eb29798 (patch) | |
tree | dfeda2fd13ce9669d4da5804916d01e5da6ccefb /xlators/storage | |
parent | a6304aec8c366ad7853f95348aa6c73a0b873678 (diff) |
rpc-transport/socket: initialize fragcurrent pointer in correct state while reading vectored replies.
- If fragcurrent is initialized in the same state which reads payload data,
there is a possibility of it getting reset during partial reads from socket.
Hence it should be initialized just before entering the state which reads
payload data.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1929 (different value is logged for read header size for multiple reads)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1929
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions