|

楼主 |
发表于 2004-3-2 09:10:05
|
显示全部楼层
没有遇到这种情况的可能是以前的版本简单的把包给过滤了。现在的版本多了一个Gqueue来放这些包。新版本要等到?0.76正式发布以后再说。BTW, henry 谢谢你的代码。
-----------------------------------------------------------------
Ver 0.2.6.1
-----------------------------------------------------------------
* Split qq_process_packet.c and qq_send_packet.c to more subtle modules
. qq_buddy_info.c : get or modify user detailed information
. qq_buddy_list.c : get buddy list and online buddy list
. qq_buddy_opt.c : add or remove buddy
. qq_buddy_status.c : change buddy status
. qq_keep_alive.c : keep alive
. qq_login_logout.c : login and logout
. qq_cmd.c : cmd and cmd description
. qq_im.c : send and receive im
. qq_recv_core.c : core functions for received packets
. qq_send_core.c : core functions for sending packets
. qq_server_ack.c : ack from server side
. qq_sys_msg.c : QQ system messgaes
* Split qq.h accordingly
* Remove qq_misc.c and qq_get_str.c and incorporate them into other modules
-----------------------------------------------------------------
Ver 0.2.6
-----------------------------------------------------------------
* A lot code rewrite
. Use typedef to hide "struct ... "
. Change most of the fixed size character array to dynamic allocated
. Change the name convention
. Clean up confusing variable type (gchar or guint8)
. Remove some ambiguious definitions
. Move most of the variable definitions to the begining of the function
* Add several packet header definitions
. qq_recv_im_header
. qq_recv_normal_im_text
. qq_recv_normal_im_common
. qq_recv_normal_im_unprocessed
* Fixed bug in converting IP address
. The return from QQ server is not a guint32, it is data
. Call read_packet_data(data, cursor, ip, 4) to get the correct value order
* Fixed bug at showing authentication message
. Remove g_locale_to_utf8, which should not be used
* Fixed bug in 0.2.5 that logout packet is sent only once
. Send four times in this version
* Fixed bug of crash if user add himself in the buddy list
. QQ server will send QQ_CMD_RECV_MSG_FRIEND_CHANGE_STATUS before
the QQ_CMD_LOGIN reply packet. This results in empty qd->session_key
. Add GQueue member to store packets before login
* Fixed bug that buddy icon is not refreshed when self is the buddy |
|