Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
3e3228b6
Commit
3e3228b6
authored
Jul 25, 2012
by
Carlos Martín Nieto
Committed by
Carlos Martín Nieto
Jul 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fetch: remove timeout code
parent
8861d32f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
src/fetch.c
+0
-13
No files found.
src/fetch.c
View file @
3e3228b6
...
...
@@ -93,19 +93,6 @@ static int recv_pkt(git_pkt **out, gitno_buffer *buf)
if
(
error
<
0
&&
error
!=
GIT_EBUFS
)
return
-
1
;
/* Wait for max. 1 second */
if
((
error
=
gitno_select_in
(
buf
,
1
,
0
))
<
0
)
{
return
-
1
;
}
else
if
(
error
==
0
)
{
/*
* Some servers don't respond immediately, so if this
* happens, we keep sending information until it
* answers. Pretend we received a NAK to convince higher
* layers to do so.
*/
return
GIT_PKT_NAK
;
}
if
((
ret
=
gitno_recv
(
buf
))
<
0
)
return
-
1
;
}
while
(
error
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment