Opened 12 years ago

Closed 12 years ago

#1399 closed Bug (fixed)

No tracker response result in error: 0 in the log

Reported by: jh Owned by: charles
Priority: Low Milestone: 1.40
Component: libtransmission Version: 1.34
Severity: Minor Keywords:
Cc:

Description

When a tracker doesn't respond transmission set the http code to 0. this is again resolved to unknown error in tr_webGetResponseStr()

the error should be a more human readable error, like "no response from tracker"

reported on [6996]

i've aattached a simple potential solution, it change 0,NULL to 0, no response.

Attachments (1)

patch (327 bytes) - added by jh 12 years ago.
patch with simple change.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by jh

patch with simple change.

comment:1 Changed 12 years ago by jh

  • Component changed from Transmission to libtransmission
  • Owner set to charles

comment:2 Changed 12 years ago by jh

the patch is strictly speaking not the best way, since there is no HTTP error code 0, but if code 0 is only used when there is no response, i think it is ok to use this fix.

comment:3 Changed 12 years ago by charles

  • Milestone changed from None Set to 1.40
  • Status changed from new to assigned

comment:4 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from 1.34+ to 1.34

patched in r6999.

Note: See TracTickets for help on using tickets.