Opened 12 years ago

Closed 12 years ago

#1357 closed Bug (fixed)

Two instances of transmissioncli

Reported by: ciur.eugen Owned by: charles
Priority: Low Milestone: 1.50
Component: CLI Version: 1.34
Severity: Normal Keywords: patch
Cc:

Description

Reproduce steps

  1. Run one instance of Transmission - GTK+ or transmissioncli (console based).
  2. Start in command line (another) instance of transmissioncli.

Result:

Although in logs you see Couldn't bind port 51413: Address already in use Actual transmissioncli runs and shows that there are users connected and behaves as if there are no errors.

Expected:

Transmissioncli must quit with an error message.

Attachments (1)

patch_for_ticket1357_1.34+ (5.7 KB) - added by ciur.eugen 12 years ago.
Patch that fixes this issue.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by ciur.eugen

Patch that fixes this issue.

comment:1 follow-ups: Changed 12 years ago by charles

I don't like the idea of forcing an exit.

What would you think about cli dumping the error message to the console but continuing on?

comment:2 in reply to: ↑ 1 Changed 12 years ago by ciur.eugen

Replying to charles:

I don't like the idea of forcing an exit.

What would you think about cli dumping the error message to the console but continuing on?

If port is blocked/already in use, then what is the point of continuing ? As per my undertanding, cli wont be able to download or upload something in this scenario.

comment:3 Changed 12 years ago by charles

although a closed port is suboptimal, it's possible to achieve good speeds even without an open port.

comment:4 Changed 12 years ago by charles

  • Priority changed from Normal to Low

comment:5 Changed 12 years ago by charles

  • Component changed from Transmission to CLI
  • Keywords patch added
  • Owner set to charles

comment:6 in reply to: ↑ 1 Changed 12 years ago by charles

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

As suggested above, 1.50 beta dumps the error message to the console but continues on.

comment:7 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.