-Mon Apr 9 17:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
+Mon Apr 9 21:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* Added silc_pkcs_decode_identifier to decode the public key's
identifier. Affected file lib/silccrypt/silpkcs.[ch].
* Fixed a fatal bug in the public and private key file loading.
Affected file lib/silccrypt/silcpkcs.c.
+ * Execute the packet parsing for client with zero (0) timeout
+ if the protocol is active. Affected file silcd/server.c.
+
Sun Apr 8 19:30:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* Made the key generation options to the silcd program. Added
SilcSocketConnection sock = parser_context->sock;
switch (sock->type) {
- case SILC_SOCKET_TYPE_CLIENT:
case SILC_SOCKET_TYPE_UNKNOWN:
/* Parse the packet with timeout */
silc_task_register(server->timeout_queue, sock->sock,
SILC_TASK_TIMEOUT,
SILC_TASK_PRI_NORMAL);
break;
+ case SILC_SOCKET_TYPE_CLIENT:
+ /* Parse the packet with timeout (unless protocol is active) */
+ silc_task_register(server->timeout_queue, sock->sock,
+ silc_server_packet_parse_real,
+ (void *)parser_context, 0,
+ (sock->protocol ? 1 : 100000),
+ SILC_TASK_TIMEOUT,
+ SILC_TASK_PRI_NORMAL);
+ break;
case SILC_SOCKET_TYPE_SERVER:
case SILC_SOCKET_TYPE_ROUTER:
/* Packets from servers are parsed as soon as possible */