Opened 6 years ago

Closed 6 years ago

#1025 closed defect (fixed)

I2PSnark: lack of lockout (Fehlende Einschaltsperre)

Reported by: DISABLED Owned by: zzz
Priority: minor Milestone: 0.9.9
Component: apps/console Version: 0.9.7.1
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

If I2PSnark is started again[1], although it is already running and serving torrents, then existing P2P connections reset by running torrents off.

[1]http://localhost:7657/configclients WebApp: I2PSnark (Run at Startup: false)


(Against misunderstandings. Wenn I2PSnark wiederholt gestartet wird, obwohl es bereits läuft und Torrents bedient, dann werden bestehende P2P-Verbindungen zurückgesetzt, indem laufende Torrents abgeschaltet werden.)

Subtickets

Change History (8)

comment:1 Changed 6 years ago by zzz

Component: apps/i2psnarkapps/console
Milestone: 0.9.90.9.12

<eche|on> oh, if I2Psnark runs already and has active torrents, a click on "start I2Psnark" kills running transfers
<zzz> yeah, "start" means "restart" if running…
<zzz> I think there's a ticket on that too…

… but I can't find it if there is one.

/configclients does not have detection for whether a webapp is running. So it always shows the start button and never the stop button. So if it is running, "start" means "restart". But this is not documented.

If possible, we should detect webapp state (running or not) and display the correct button on /configclients.

comment:2 Changed 6 years ago by zzz

related (clients not webapps): #347

comment:3 Changed 6 years ago by zzz

Milestone: 0.9.120.9.9
Status: newaccepted

It was about 90% implemented a long time ago but was never completed, for unknown reasons.

Finished in i2p.i2p.zzz.test2 9ab093be536aab7011880739d1c3b9d30eb5ba9c to be propped for 0.9.9.

Running webapp will show a stop button. Stopped webapp will show a start button.

comment:4 Changed 6 years ago by DISABLED

Resolution: worksforme
Status: acceptedclosed

comment:5 Changed 6 years ago by str4d

Resolution: worksforme
Status: closedreopened

comment:6 Changed 6 years ago by DISABLED

Resolution: invalid
Status: reopenedclosed

comment:7 Changed 6 years ago by str4d

Resolution: invalid
Status: closedreopened

comment:8 Changed 6 years ago by zzz

Resolution: fixed
Status: reopenedclosed

propped as 0.9.8.1-2

Note: See TracTickets for help on using tickets.