cURL / Mailing Lists / curl-library / Single Mail

curl-library

PATCH: CURLOPT_FTP_RESPONSE_TIMEOUT.

From: Early Ehlinger <early_at_respower.com>
Date: Tue, 2 Sep 2003 09:37:18 -0500

Last week I mentioned that I was going to clean up and submit a patch to
implement CURLOPT_FTP_RESPONSE_TIMEOUT. I go sidetracked with some fires,
but I finally found some time this morning to grab the CVS and get cracking.
The results of my efforts are attached.

$ cvs diff -u \
 CHANGES \
 include/curl/curl.h \
 lib/ftp.c \
 lib/url.c \
 lib/urldata.h \
> CURLOPT_FTP_RESPONSE_TIMEOUT.diff
(attached)

Thanks again for the fantastic library. It is proving to be invaluable.

--
-- Early Ehlinger CEO, ResPower Inc - Toll-Free : 866-737-7697
-- www.respower.com -- 500+ GHz Supercomputer Starting At USD$0.50/GHz*Hour
begin 666 CURLOPT_FTP_RESPONSE_TIMEOUT.diff
M26YD97_at_Z($-(04Y'15,*/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/0I20U,@9FEL
M93H@+W)E<&]S:71O<GDO8W5R;"]#2$%.1T53+'8*<F5T<FEE=FEN9R!R979I
M<VEO;B Q+C,S,@ID:69F("UU("UR,2XS,S(@0TA!3D=%4PHM+2T_at_0TA!3D=%
M4PDQ(%-E<" R,# S(# X.C4W.C4P("TP,# P"3$N,S,R"BLK*R!#2$%.1T53
M"3(@4V5P(#(P,#,@,30Z,S Z,S0@+3 P,# *0$ @+38L-B K-BPR,B! 0 H@
M"B @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @0VAA;F=E;&]G
M"B **T5A<FQY("@R(%-E<'1E;6)E<BD**RT_at_061D960@0U523$]05%]&5%!?
M4D534$].4T5?5$E-14]55" M(&%L;&]W<R!U<V5R('1O('-E="!S=')I8W0@
M=&EM96]U= HK("!R97%U:7)E;65N=',@;VX@=&AE($944"!S97)V97(G<R!A
M8FEL:71Y('1O(')E<W!O;F0@=&\@:6YD:79I9'5A;"!C;VUM86YD<PHK("!W
M:71H;W5T('!L86-I;F<@9VQO8F%L(')E<75I<F5M96YT<R!O;B!T<F%N<V9E
M<B!O<B!C;VYN96-T('1I;64N("!&:6QE<PHK("!A9F9E8W1E9#H**R @(" M
M(&EN8VQU9&4O8W5R;"]C=7)L+F@**R @(" @(" @061D960@;W!T:6]N($-5
M4DQ/4%1?1E107U)%4U!/3E-%7U1)345/550**R @(" M(&QI8B]F=' N8PHK
M(" @(" @("!!9&1E9"!B<F%N8V@@:6YS:61E($-U<FQ?1V5T1E104F5S<&]N
M<V4@=&\@8VAE8VL_at_9F]R( HK(" @(" @("!D871A+3YS970N9G1P7W)E<W!O
M;G-E7W1I;65O=70**R @(" M(&QI8B]U<FPN8PHK(" @(" @("!-;V1I9FEE
M9"!#=7)L7W-E=&]P="!T;R!R96-O9VYI>F4_at_0U523$]05%]&5%!?4D534$].
M4T5?5$E-14]55 HK(" @("T@;&EB+W5R;&1A=&$N: HK(" @(" @("!!9&1E
M9"!F='!?<F5S<&]N<V5?=&EM96]U="!T;R!S=')U8W0_at_57-E<D1E9FEN960*
M*PHK"B!$86YI96P@*#$@4V5P=&5M8F5R*0H@+2!(96YR:6L_at_4W1O<FYE<B!M
M861E(&QI8F-U<FP@=V]R:R!F:6YE('=I=&@@3W!E;DQ$05 @,BXQ+C(R("AC
M=7)R96YT*2X*( I);F1E>#H@:6YC;'5D92]C=7)L+V-U<FPN: H]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]"E)#4R!F:6QE.B O<F5P;W-I=&]R>2]C=7)L+VEN
M8VQU9&4O8W5R;"]C=7)L+F_at_L=@IR971R:65V:6YG(')E=FES:6]N(#$N,C$S
M"F1I9F8@+74@+7(Q+C(Q,R!C=7)L+F@*+2TM(&EN8VQU9&4O8W5R;"]C=7)L
M+F@),2!397 @,C P,R P.#HR,CHR,2 M,# P, DQ+C(Q,PHK*RL@:6YC;'5D
M92]C=7)L+V-U<FPN: DR(%-E<" R,# S(#$T.C,P.C,T("TP,# P"D! ("TV
M-S_at_L-B K-C<X+#$R($! "B @(" @($YO=&4@=&AA="!S971T:6YG(&UU;'1I
M<&QE(&)I=',@;6%Y(&-A=7-E(&5X=')A(&YE='=O<FL@<F]U;F0M=')I<',N
M("HO"B @($-)3DE4*%!23UA905542"P_at_3$].1RP@,3$Q*2P*( HK(" O*B!&
M4%0_at_3W!T:6]N('1H870_at_8VAA;F=E<R!T:&4@=&EM96]U="P@:6X@<V5C;VYD
M<RP_at_87-S;V-I871E9"!W:71H( HK(" @("!G971T:6YG(&$@<F5S<&]N<V4N
M("!4:&ES(&ES(&1I9F9E<F5N="!F<F]M('1R86YS9F5R('1I;65O=70@=&EM
M92!A;F0**R @(" @97-S96YT:6%L;'D@<&QA8V5S(&$@9&5M86YD(&]N('1H
M92!&5% @<V5R=F5R('1O(&%C:VYO=VQE9&=E(&-O;6UA;F1S"BL@(" @(&EN
M(&$@=&EM96QY(&UA;FYE<BX@*B\**R @0TE.250H1E107U)%4U!/3E-%7U1)
M345/550L($Q/3D<@+" Q,3(I+ HK"B @($-54DQ/4%1?3$%35$5.5%)9("\J
M('1H92!L87-T('5N=7-E9" J+PH@?2!#55),;W!T:6]N.PH@"DEN9&5X.B!L
M:6(O9G1P+F,*/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/0I20U,@9FEL93H@+W)E
M<&]S:71O<GDO8W5R;"]L:6(O9G1P+F,L=@IR971R:65V:6YG(')E=FES:6]N
M(#$N,3DV"F1I9F8@+74@+7(Q+C$Y-B!F=' N8PHM+2T@;&EB+V9T<"YC"3(R
M($%U9R R,# S(#$R.C,U.C$X("TP,# P"3$N,3DV"BLK*R!L:6(O9G1P+F,)
M,B!397 @,C P,R Q-#HS,#HS-2 M,# P, I 0" M,C,S+#<@*S(S,RPQ-2! 
M0 H@"B @('=H:6QE*"@J;G)E861P/$)51E-)6D4I("8F("AK965P;VX@)B8@
M(7)E<W5L="DI('L*(" @(" O*B!C:&5C:R!A;F0@<F5S970@=&EM96]U="!V
M86QU92!E=F5R>2!L87 @*B\*+2 @("!I9BAD871A+3YS970N=&EM96]U="D*
M*R @("!I9BAD871A+3YS970N9G1P7W)E<W!O;G-E7W1I;65O=70@*0HK(" @
M(" @+RH@:68_at_0U523$]05%]&5%!?4D534$].4T5?5$E-14]55"!I<R!S970L
M('5S92!T:&%T('1O(&1E=&5R;6EN90HK(" @(" @(" @<F5M86EN:6YG('1I
M;64N("!!;'-O+"!U<V4@(FYO=R(@87,@;W!P;W-E9"!T;R B8V]N;BT^;F]W
M(@HK(" @(" @(" @8F5C875S92!F='!?<F5S<&]N<V5?=&EM96]U="!I<R!O
M;FQY('-U<'!O<V5D('1O(&=O=F5R;@HK(" @(" @(" @=&AE(')E<W!O;G-E
M(&9O<B!A;GD_at_9VEV96X@9G1P(')E<W!O;G-E+"!N;W0_at_9F]R('1H92!T:6UE
M"BL@(" @(" @("!F<F]M(&-O;FYE8W0@=&\@=&AE(&=I=F5N(&9T<"!R97-P
M;VYS92X@*B\**R @(" @('1I;65O=70@/2!D871A+3YS970N9G1P7W)E<W!O
M;G-E7W1I;65O=70@+2 O*B!T:6UE;W5T('1I;64@*B\**R @(" @(" @0W5R
M;%]T=F1I9F8H0W5R;%]T=FYO=R_at_I+"!N;W<I+S$P,# [("\J('-P96YT('1I
M;64@*B\**R @("!E;'-E(&EF*&1A=&$M/G-E="YT:6UE;W5T*0H@(" @(" @
M+RH@:68@=&EM96]U="!I<R!R97%U97-T960L(&9I;F0@;W5T(&AO=R!M=6-H
M(')E;6%I;FEN9R!T:6UE('=E(&AA=F4@*B\*(" @(" @('1I;65O=70@/2!D
M871A+3YS970N=&EM96]U=" M("\J('1I;65O=70@=&EM92 J+PH@(" @("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!L:7-T"DEN9&5X
M.B!L:6(O=7)L9&%T82YH"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I
M;&4Z("]R97!O<VET;W)Y+V-U<FPO;&EB+W5R;&1A=&$N:"QV"G)E=')I979I
M;F<@<F5V:7-I;VX@,2XQ-S,*9&EF9B M=2 M<C$N,3<S('5R;&1A=&$N: HM
M+2T@;&EB+W5R;&1A=&$N: DR,"!!=6<@,C P,R Q-3HT,3HT-2 M,# P, DQ
M+C$W,PHK*RL@;&EB+W5R;&1A=&$N: DR(%-E<" R,# S(#$T.C,P.C,V("TP
M,# P"D! ("TW-S,L-B K-S<S+#<@0$ *(" @=F]I9" J<&%S<W=D7V-L:65N
M=#L@(" @(" @(" @(" @(" O*B!P87-S('1O('1H92!P87-S=V0_at_8V%L;&)A
M8VL@*B\*(" @;&]N9R!T:6UE;W5T.R @(" @(" @("\J(&EN('-E8V]N9',L
M(# @;65A;G,@;F\@=&EM96]U=" J+PH@("!L;VYG(&-O;FYE8W1T:6UE;W5T
M.R @+RH@:6X@<V5C;VYD<RP@,"!M96%N<R!N;R!T:6UE;W5T("HO"BL@(&QO
M;F<@9G1P7W)E<W!O;G-E7W1I;65O=70[("\J(&EN('-E8V]N9',L(# @;65A
M;G,@;F\@=&EM96]U=" J+PH@("!L;VYG(&EN9FEL97-I>F4[(" @(" @+RH@
M<VEZ92!O9B!F:6QE('1O('5P;&]A9"P@+3$@;65A;G,@=6YK;F]W;B J+PH@
M("!L;VYG(&QO=U]S<&5E9%]L:6UI=#L@+RH_at_8GET97,O<V5C;VYD("HO"B @
M(&QO;F<@;&]W7W-P965D7W1I;64[(" O*B!N=6UB97(@;V8@<V5C;VYD<R J
"+PH`
`
end
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-02