Comments (1)
We encountered this issue several times and prepared a fix proposal #615. The implementation honors the timeout value in the dialer, but during the construction of a new client, there are 2 consequent requests. The first one runs with a deadline value and times out correctly. However, at the beginning of each command, the connection deadline is set to zero if there is no timeout value defined on the client. At this point, the client object is not returned to the user yet and timeout is always zero.
from go-imap.
Related Issues (20)
- v2 STORE flags not returned HOT 2
- v2 DebugWriter breaks LOGIN or any imap command HOT 2
- v2 Invokes Client.conn.Close multiple times producing errors HOT 1
- v1 branch overwritten? HOT 2
- Set timeout for Dial() HOT 1
- Support IMAP4 ID command (RFC 1971) HOT 11
- Cannot connect to Cyrus IMAP 2.5 - hangs on login HOT 4
- Idle client v2 stops receiving new emails in some time. HOT 5
- The receiving mail runs on the cloud server
- Raw UTF-8 is rejected by utf7 package when UTF8=ACCEPT is enabled
- utf7: simplify implementation
- Disable UTF-7 encoding for IMAP4rev2
- v2: fails to parse imap server response HOT 2
- client: Dovecot startup failure hangs test HOT 1
- FETCH command did not return any message HOT 3
- How to clear total email with this "github.com/emersion/go-imap"
- client: automatic IDLE
- [v2] Fallback MOVE by COPY+STORE+EXPUNGE doesn't return DestUIDs HOT 8
- oauth2 server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-imap.