CI / build (push) Successful in 45s
The client sends it every HTTP request and its IMQ connection; it makes them with current TLS and certificates, upgrades IMVU's plain-HTTP hosts to HTTPS, and refuses IMVU's reporting endpoints. CI tests it and publishes t5de-proxy.exe as nightlies and tagged releases. Co-Authored-By: Claude Opus 5.5 <[email protected]>
22 lines
357 B
Go
22 lines
357 B
Go
//go:build !windows
|
|
|
|
package parent
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
"time"
|
|
)
|
|
|
|
// wait polls: the client only runs on Windows; this is for running the proxy's tests and tools elsewhere.
|
|
func wait(pid int) error {
|
|
p, err := os.FindProcess(pid)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
for p.Signal(syscall.Signal(0)) == nil {
|
|
time.Sleep(time.Second)
|
|
}
|
|
return nil
|
|
}
|