Skip to content

Commit 6baf2d3

Browse files
committed
fixed:not move file point when download error
1 parent 1e98c4c commit 6baf2d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

XEngine_Source/StorageModule_Session/Session_Stroage/Session_DLStroage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ BOOL CSession_DLStroage::Session_DLStorage_SetSeek(LPCTSTR lpszClientAddr, int n
513513
st_Locker.unlock_shared();
514514
return FALSE;
515515
}
516+
stl_ListIterator->ullRWLen -= nSeek;
516517
break;
517518
}
518519
}

XEngine_Source/StorageModule_Session/Session_Stroage/Session_DLStroage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Purpose: 存储下载会话
1111
// History:
1212
*********************************************************************/
13-
#define XENGINE_STOREAGE_SESSION_DOWNLOAD_SENDTIME 1
13+
#define XENGINE_STOREAGE_SESSION_DOWNLOAD_SENDTIME 10
1414

1515
typedef struct
1616
{

0 commit comments

Comments
 (0)