Skip to content

Commit 3cda0a7

Browse files
committed
commit with tag nightly-24.10.20f
1 parent d8b63c5 commit 3cda0a7

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

dist/dist.zip

-9 Bytes
Binary file not shown.

dist/topoviewer

0 Bytes
Binary file not shown.

go_cloudshellwrapper/constants.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package cloudshellwrapper
22

3-
var VersionInfo string = "nightly-24.10.20e"
3+
var VersionInfo string = "nightly-24.10.20f"
44

55
// create html-public files
66
var HtmlPublicPrefixPath string = "./html-public/"

go_cloudshellwrapper/constants.go.bak

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package cloudshellwrapper
22

3-
var VersionInfo string = "nightly-24.10.20d"
3+
var VersionInfo string = "nightly-24.10.20e"
44

55
// create html-public files
66
var HtmlPublicPrefixPath string = "./html-public/"

go_xtermjs/handler_websocket.go

+15-4
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,22 @@ import (
2020
const DefaultConnectionErrorLimit = 10
2121

2222
type HandlerOpts struct {
23-
AllowedHostnames []string
24-
Arguments []string
25-
Command string
23+
// AllowedHostnames is a list of strings which will be matched to the client
24+
// requesting for a connection upgrade to a websocket connection
25+
AllowedHostnames []string
26+
// Arguments is a list of strings to pass as arguments to the specified COmmand
27+
Arguments []string
28+
// Command is the path to the binary we should create a TTY for
29+
Command string
30+
// ConnectionErrorLimit defines the number of consecutive errors that can happen
31+
// before a connection is considered unusable
2632
ConnectionErrorLimit int
27-
CreateLogger func(string, *http.Request) Logger
33+
// CreateLogger when specified should return a logger that the handler will use.
34+
// The string argument being passed in will be a unique identifier for the
35+
// current connection. When not specified, logs will be sent to stdout
36+
CreateLogger func(string, *http.Request) Logger
37+
// KeepalivePingTimeout defines the maximum duration between which a ping and pong
38+
// cycle should be tolerated, beyond this the connection should be deemed dead
2839
KeepalivePingTimeout time.Duration
2940
MaxBufferSizeBytes int
3041
}

0 commit comments

Comments
 (0)