Opened 11 years ago

Closed 11 years ago

#5818 closed patch (fixed)

04-tcp-pending

Reported by: csyfek Owned by: csyfek
Milestone: 2.4.3 Component: QQ
Version: 2.4.0 Keywords: tcp-pending QQ OpenQ patch
Cc:

Description

2008.05.14 - ccpaging <ecc_hy(at)hotmail.com>

  • Move function for before login packets storing to sendqueue
  • Use transaction data structure to store before login packets
  • Rewrite tcp_pending and packet_process in qq_network.c

2008.05.09 - ccpaging <ecc_hy(at)hotmail.com>

  • Remove function _create_packet_head_seq in qq_network.c
  • Create new function encap in qq_netowork.c
  • Clean code of qq_send_packet_request_login_token and qq_send_packet_login in login_out.c

2008.05.09 - ccpaging <ecc_hy(at)hotmail.com>

  • Clean code of packet_parse.c, enable PARSER_DEBUG
  • Rewrite send_queue

2008.05.08 - ccpaging <ecc_hy(at)hotmail.com>

  • Rewrite qq_network
  • Add srv resolve function when qq_login
  • Merge function _qq_common_clean in qq_proxy.c to qq_disconnect
  • Move orignal qq_disconnect to qq_close
  • qq_data alloc in qq_open and release in qq_close
  • Network connect of QQ is created in qq_connect, and release in qq_disconnect

2008.05.05 - ccpaging <ecc_hy(at)hotmail.com>

  • Merge function _qq_common_clean in qq_proxy.c to qq_disconnect
  • Move orignal qq_disconnect to qq_close
  • qq_data alloc in qq_open and release in qq_close
  • Network connect of QQ is created in qq_connect, and release in qq_disconnect

tcp pending patch for OpenQ. to apply this patch, you *MUST* have 01-03 three patches patched first.


Dear All,

The recent 5.12 Wenchuan earthquake in China, which was measured at 7.8 magnitude, has claimed thousands of lives and loss of property. Let’s reach out to those in need!Thank you very much!

SHiNE CsyFeK

Attachments (2)

04-tcp-pending.patch.gz (31.4 KB) - added by csyfek 11 years ago.
purple-qq-04-tcp-pending.diff (86.0 KB) - added by QuLogic 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by csyfek

comment:1 Changed 11 years ago by csyfek

“只要有一线希望,我们就尽百倍努力!” Dear All,

The recent 5.12 Wenchuan earthquake in China, which was measured at 7.8 magnitude, has claimed thousands of lives and loss of property. To help the victims rebuild their lives and get timely medical treatment, we call for a voluntary donation of money among the internet. The donation will be collected and delivered to China Red Cross. http://www.crcf.org.cn/ Let's reach out to those in need! Thank you!

comment:2 Changed 11 years ago by csyfek

for more information, please refer to RCSC: http://www.redcross.org.cn/ Thank you!

comment:3 Changed 11 years ago by QuLogic

Again, a copy of the patch ungzipped. This depends on my version of the patches in #5639 and #5718. I changed the comments to /*comments*/. I changed %lu to %p where necessary. I also added a g_free(trans) in qq_packet_pop that seemed to be missing. I made a change in login_logout.c from:

	memcpy(src, &uid, 4);
	memcpy(src, session_key, QQ_KEY_LENGTH);

to:

	memcpy(src, &uid, sizeof(uid));
	memcpy(src + sizeof(uid), session_key, QQ_KEY_LENGTH);

Otherwise, the whole first line is not useful. Someone will have to check whether that is correct.

I haven't yet been able to check out all of qq_network.c, though.

Changed 11 years ago by QuLogic

comment:4 Changed 11 years ago by QuLogic

  • Owner changed from seanegan to csyfek

This is yours now.

comment:5 Changed 11 years ago by csyfek

  • Milestone set to 2.4.3
  • priority changed from minor to critical
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!