2009-11-21 19:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbtip/smtpcli.prg
    ! Fixed long time SMTP protocol implementation bug reported 
      (with patch) by Francesco Perillo. Thank you.
      The problem manifested itself only with strictly 
      standard compliant SMTP server (setups?) like recent 
      Exim versions.
    + Upped timeout from 5000 to 50000.
This commit is contained in:
Viktor Szakats
2009-11-21 18:49:50 +00:00
parent c8af764db8
commit d7d86e9b06
2 changed files with 18 additions and 1 deletions

View File

@@ -17,6 +17,15 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-11-21 19:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/smtpcli.prg
! Fixed long time SMTP protocol implementation bug reported
(with patch) by Francesco Perillo. Thank you.
The problem manifested itself only with strictly
standard compliant SMTP server (setups?) like recent
Exim versions.
+ Upped timeout from 5000 to 50000.
2009-11-21 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
+ Added clang support to link to dylib with full dirspec

View File

@@ -99,7 +99,7 @@ METHOD New( oUrl, bTrace, oCredentials ) CLASS tIPClientSMTP
::super:New( oUrl, bTrace, oCredentials )
::nDefaultPort := iif( ::oUrl:cProto == "smtps", 465, 25 )
::nConnTimeout := 5000
::nConnTimeout := 50000
::nAccessMode := TIP_WO // a write only
RETURN Self
@@ -110,6 +110,10 @@ METHOD Open( cUrl, lTLS ) CLASS tIPClientSMTP
RETURN .F.
ENDIF
IF ! ::GetOk()
RETURN .F.
ENDIF
DEFAULT lTLS TO .F.
IF lTLS
@@ -129,6 +133,10 @@ METHOD OpenSecure( cUrl, lTLS ) CLASS tIPClientSMTP
RETURN .F.
ENDIF
IF ! ::GetOk()
RETURN .F.
ENDIF
DEFAULT lTLS TO .F.
IF lTLS