aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: aMule v2.3.2 and later intend to cause 'Wrong header'  (Read 20661 times)

Enig123

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: aMule v2.3.2 and later intend to cause 'Wrong header'
« Reply #15 on: September 29, 2021, 07:08:30 AM »

Most likely reason of this issue is, packets are send from multiple threads, which means you'll need to serialize the async sending in order to avoid the interleave.

Other than the most obvious 'Wrong header' errors or compression errors downloading from aMule v2.3.2 and later, your clients also have issue when downloading and uploading simultaneously, the uploading/downloading will not last long before it ceased to transfer any data.

I found this discussion, hope it helps just in case one of the developers of aMule decide to take a look:
https://stackoverflow.com/questions/7362894/boostasiosocket-thread-safety
« Last Edit: September 29, 2021, 07:11:43 AM by Enig123 »
Logged
Pages: 1 [2]