https://github.com/git/git
Revision 3ea099d48b15f69889f4efe71599c9dfde6bb26a authored by Sasha Khapyorsky on 29 September 2006, 00:10:44 UTC, committed by Junio C Hamano on 29 September 2006, 02:02:46 UTC
If http.noEPSV config variable is defined and true, or if
GIT_CURL_FTP_NO_EPSV environment variable is defined, disable using
of EPSV ftp command (PASV will be used instead). This is helpful with
some "poor" ftp servers which does not support EPSV mode.

Signed-off-by: Sasha Khapyorsky <sashak@voltaire.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 77e565d
Raw File
Tip revision: 3ea099d48b15f69889f4efe71599c9dfde6bb26a authored by Sasha Khapyorsky on 29 September 2006, 00:10:44 UTC
http/ftp: optionally ask curl to not use EPSV command
Tip revision: 3ea099d
pkt-line.h
#ifndef PKTLINE_H
#define PKTLINE_H

#include "git-compat-util.h"

/*
 * Silly packetized line writing interface
 */
void packet_flush(int fd);
void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));

int packet_read_line(int fd, char *buffer, unsigned size);
ssize_t safe_write(int, const void *, ssize_t);

#endif
back to top