-
Notifications
You must be signed in to change notification settings - Fork 6
websvr_test.go 里面的国密测试没过这个是预期的结果? #16
Copy link
Copy link
Open
Description
测试代码里的server是配置的config, err := loadAutoSwitchConfig() 自动切换支持,是不是应该支持gm客户端访问的?
framework-go/gmsm/gmtls/websvr/websvr_test.go
Line 168 in abb8826
| func Test_tls(t *testing.T) { |
=== RUN Test_tls
>> HTTP Over [GMSSL/TLS] running...
HTTP/1.1 200 OK
Date: Fri, 20 Jun 2025 02:36:07 GMT
Content-Length: 6
Content-Type: text/plain; charset=utf-8
Connection: close
hello
>> RSA TLS [PASS]
handshake error : local error: tls: no renegotiation
handshake error : EOF
panic: EOF
goroutine 14 [running]:
github.com/blockchain-jd-com/framework-go/gmsm/gmtls/websvr.gmClientRun()
/github.com/blockchain-jd-com/framework-go/gmsm/gmtls/websvr/websvr_test.go:103 +0x49d
created by github.com/blockchain-jd-com/framework-go/gmsm/gmtls/websvr.Test_tls in goroutine 7
/github.com/blockchain-jd-com/framework-go/gmsm/gmtls/websvr/websvr_test.go:174 +0x85
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels