X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=TODO;h=133d751a31ad2ddf48231c0a3a196bf1968d0afe;hb=528c3c9e24c813f5eb404b34f3090c2f16e78ce1;hp=e524e5bb38c25789828f877c34d3219e2aa41c7c;hpb=f9b6b6d91114fc1249b53ad4a77b3f1e974d8eef;p=silc.git diff --git a/TODO b/TODO index e524e5bb..133d751a 100644 --- a/TODO +++ b/TODO @@ -100,15 +100,22 @@ TODO In SILC Client Library TODO In SILC Server =================== - o Packet processing can be made faster. All packet function in the - packet_receive.c has same prototypes. Instead of calling those from - huge switch() make a table of callback functions that can be called - directly by the packet type. + o Functions such as silc_server_private_message, + silc_server_private_message_key and + silc_server_packet_process_relay_notify can be optimized. I don't think + we need such a big lookups to lookup the router to the destination, + it is already provided in the client entry. o silc_server_send_key_agreement and silc_server_send_private_message_key are one and same function (also silc_server_send_private_message is almost same function). These should be unified to one generic named - function and use that. + function and use that (silc_server_packet_relay_notify is also + same function). + + o Packet processing can be made faster. All packet function in the + packet_receive.c has same prototypes. Instead of calling those from + huge switch() make a table of callback functions that can be called + directly by the packet type. o DNS/IP lookup blocks the server. This must be fixed. Check the resolver stuff (resolver(3), resolver(5)). Either we have to do the