Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312773

Summary: Miss signal to flush in org.eclipse.jgit.util.io.StreamCopyThread
Product: [Technology] JGit Reporter: Dmitry Neverov <dmitry.neverov>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sop
Version: 0.7.1   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch to fix this issue none

Description Dmitry Neverov CLA 2010-05-13 06:58:20 EDT
It is possible to miss flush() invocation in StreamCopyThread, in this case some data will not be sent to remote host and we will wait forever (or until timeout) in src.read(). Patch that fix this is attached.
Comment 1 Dmitry Neverov CLA 2010-05-13 06:59:13 EDT
Created attachment 168364 [details]
patch to fix this issue
Comment 2 Shawn Pearce CLA 2010-05-13 13:02:47 EDT
Committed as 3f143b8d6b5c20098e041e22be42216e668a4a0b