Opened 4 years ago
Closed 4 years ago
#1485603 closed Bugs (worksforme)
> 40 öffene Imap Verbindungen zu Server offen
| Reported by: | garyx7de | Owned by: | |
|---|---|---|---|
| Priority: | 4 | Milestone: | 0.2-stable |
| Component: | IMAP connection | Version: | 0.2-beta |
| Severity: | critical | Keywords: | |
| Cc: |
Description
Hi,
wurde schon 2 mal von meinem Provider geblockt (Firewall) weil 40 Verbindungen noch offen ware.
php 5.2
aktuelle 0.2-beta als Version
Gruß
Change History (7)
comment:1 Changed 4 years ago by alec
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 4 years ago by garyx7de
- Resolution invalid deleted
- Status changed from closed to reopened
Whats my Problem ? He realy open over 40 Connection. He didnt Close this Connection, why?
comment:3 Changed 4 years ago by alec
40 for one logged user? Connection socket should be slosed when script ends. Works for me.
comment:4 Changed 4 years ago by garyx7de
Which attitude is that? php.ini? Default?
Yes 40 for one User
comment:5 Changed 4 years ago by alec
In roundcube we have registered shutdown function which calls iil_Close() from lib/imap.inc
comment:6 Changed 4 years ago by garyx7de
With int register_shutdown_function ( string $func ) ?
At what point in the code contribution I best to?
comment:7 Changed 4 years ago by thomasb
- Resolution set to worksforme
- Status changed from reopened to closed
PHP by default closes all open files and socket connections. Even if our shutdown function failes this should not be an issue. Maybe there are special settings in your environment that cause that problem.

But what is your problem. Roundcube opens only one connection a time. We're talking in English here. Sorry.