go-clamd icon indicating copy to clipboard operation
go-clamd copied to clipboard

Added TCP_TIMEOUT

Open c1982 opened this issue 10 years ago • 5 comments

Default tcp timeout 3 minutes. it's too long for MTA. I made a small change in newCLAMDTcpConn function.

c1982 avatar Apr 10 '15 19:04 c1982

Good one. Thx. Could you check the travis errors though? And I see Linthub is mentioning some issues also, but those are mainly issues regarding my style ;-).

nl5887 avatar Apr 10 '15 19:04 nl5887

I think, const definitions better with uppercase. Linthub I can't hear you :hear_no_evil: :laughing:

c1982 avatar Apr 10 '15 21:04 c1982

Yes, I don't mind those errors. But this one I do: https://travis-ci.org/dutchcoders/go-clamd/jobs/57995083. It misses a import time.

nl5887 avatar Apr 10 '15 21:04 nl5887

ah! sorry.

c1982 avatar Apr 10 '15 21:04 c1982

Evening, I have started to use this library for a project and was going to ask for this to be merged, but I noticed it seems to already have in f70f574e61d. Would you mind cleaning this up to save some one else future confusion?

And maybe give the unix socket the same treatment?

Regards

stuartskelton avatar Jun 03 '18 18:06 stuartskelton