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
|
- SSL certificate verification
|
||||||
- allowed IP filtering
|
- keep invites when detached ?
|
||||||
- multi user (user/pass to identify user + realname to id. network)
|
- allow global (or per net ?) IP filtering
|
||||||
- keep invites when detached
|
- /bip command for admin (at least rehash, jump, ...)
|
||||||
- DCC proxying ?
|
- check why log_mode doesn't add closing bracket...
|
||||||
- /bip command, for admin (rehash, jump, ...)
|
- bug: bip using 100% cpu when reconnecting (to SSL only ?)
|
||||||
- crypt logs
|
|
||||||
|
|
||||||
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;
|
*nc = 1;
|
||||||
return 0;
|
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) {
|
if (err2 == SSL_ERROR_ZERO_RETURN || err2 == SSL_ERROR_SSL) {
|
||||||
mylog(LOG_DEBUG, "Error in SSL handshake.");
|
mylog(LOG_DEBUG, "Error in SSL handshake.");
|
||||||
cn->connected = CONN_ERROR;
|
cn->connected = CONN_ERROR;
|
||||||
return 1;
|
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,
|
static connection_t *_connection_new_SSL(char *dsthostname, char *dstport,
|
||||||
|
|
Loading…
Reference in New Issue