This commit is contained in:
Jakob Borg 2023-05-24 14:21:34 +02:00
parent d96ada4edc
commit 2597ac5c25
3 changed files with 2 additions and 14 deletions

View File

@ -138,18 +138,6 @@ func (s *indexHandler) Serve(ctx context.Context) (err error) {
close(stop)
}()
// ctx, cancel := context.WithCancel(ctx)
// Cancel the context when the connection closes
// go func() {
// select {
// case <-s.conn.Closed():
// cancel()
// case <-ctx.Done():
// case <-stop:
// }
// }()
// Broadcast the pause cond when the context quits
go func() {
select {

View File

@ -64,7 +64,7 @@
<maxRequestKiB>0</maxRequestKiB>
<untrusted>false</untrusted>
<remoteGUIPort>0</remoteGUIPort>
<multipleConnections>32</multipleConnections>
<multipleConnections>4</multipleConnections>
</device>
<gui enabled="true" tls="false" debugging="true">
<address>127.0.0.1:8081</address>

View File

@ -53,7 +53,7 @@
<maxRequestKiB>0</maxRequestKiB>
<untrusted>false</untrusted>
<remoteGUIPort>0</remoteGUIPort>
<multipleConnections>32</multipleConnections>
<multipleConnections>4</multipleConnections>
</device>
<device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" name="s2" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
<address>tcp://127.0.0.1:22002</address>