diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 17:08:27 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 17:08:27 +0800 |
commit | 78ef3b19d40aa6f63412ba961ab5c8bf0939237e (patch) | |
tree | d7758dc2071a8cedf02eeba9d731af4ea8ad5c3b /main.go | |
parent | router.go: Fix out-of-bounds read on /: (diff) | |
download | forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.tar.gz forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.tar.zst forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.zip |
ssh.go: Add anonymous SSH cloning
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,11 @@ func main() { clog.Fatal(1, "Listening: "+err.Error()) } + err = serve_ssh() + if err != nil { + clog.Fatal(1, "Listening SSH: "+err.Error()) + } + err = http.Serve(listener, &http_router_t{}) if err != nil { clog.Fatal(1, "Serving: "+err.Error()) |