Add transit bit check for detecting partial response in iSCSI stack.

Signed-off-by: Ye Ting  <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14296 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
tye1 2013-04-19 06:39:30 +00:00
parent 4304bf6945
commit 58df7da72b
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
The implementation of iSCSI protocol based on RFC3720. The implementation of iSCSI protocol based on RFC3720.
Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR> Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -742,7 +742,7 @@ IScsiProcessLoginRsp (
NetbufQueAppend (&Conn->RspQue, Pdu); NetbufQueAppend (&Conn->RspQue, Pdu);
Conn->PartialRspRcvd = Continue; Conn->PartialRspRcvd = Continue;
if (Continue) { if ((!Transit) || Continue) {
// //
// It's a partial response, have to wait for another or more Request/Response // It's a partial response, have to wait for another or more Request/Response
// conversations to get the full response. // conversations to get the full response.