update todo, important !
fix ssl not timeouting with some sort of bogus SSL sockets...
This commit is contained in:
parent
de0d75b181
commit
5e939ecd4d
16
TODO
16
TODO
@ -1,9 +1,11 @@
|
||||
Before release:
|
||||
- SSL certificate verification
|
||||
- allowed IP filtering
|
||||
- multi user (user/pass to identify user + realname to id. network)
|
||||
- keep invites when detached
|
||||
- DCC proxying ?
|
||||
- /bip command, for admin (rehash, jump, ...)
|
||||
- crypt logs
|
||||
- keep invites when detached ?
|
||||
- allow global (or per net ?) IP filtering
|
||||
- /bip command for admin (at least rehash, jump, ...)
|
||||
- check why log_mode doesn't add closing bracket...
|
||||
- bug: bip using 100% cpu when reconnecting (to SSL only ?)
|
||||
|
||||
tidy up irc_server/server structures
|
||||
TODO:
|
||||
- DCC proxying...
|
||||
- crypt logs
|
||||
|
@ -1146,12 +1146,16 @@ static int SSLize(connection_t *cn, int *nc)
|
||||
*nc = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* From now on, we are on error, thus we return 1 to check timeout */
|
||||
if (err2 == SSL_ERROR_ZERO_RETURN || err2 == SSL_ERROR_SSL) {
|
||||
mylog(LOG_DEBUG, "Error in SSL handshake.");
|
||||
cn->connected = CONN_ERROR;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
/* Here are unhandled errors/resource waiting. Timeout must be
|
||||
* checked but connection may still be valid */
|
||||
return 1;
|
||||
}
|
||||
|
||||
static connection_t *_connection_new_SSL(char *dsthostname, char *dstport,
|
||||
|
Loading…
x
Reference in New Issue
Block a user