Skip to content

context.go测试用例#24

Merged
devfeel merged 17 commits intodevfeel:masterfrom
zouyx:master
Jun 15, 2017
Merged

context.go测试用例#24
devfeel merged 17 commits intodevfeel:masterfrom
zouyx:master

Conversation

@zouyx
Copy link
Copy Markdown
Contributor

@zouyx zouyx commented Jun 15, 2017

context.go测试用例
需要注意的是以下测试用例.
TestWriteString

结果是:
该用例是跑不过的- -,返回值是一个[]uint8数组而不是string

zouyx and others added 17 commits June 15, 2017 10:32
* dotweb.DotWeb.ListenAndServer(addr string) 支持原生host监听
* dotweb.Context增加Context() & SetTimeoutContext() & WithContext()
* dotweb.Request增加自动生成unique RequestID,通过RequestID()获取,默认置入dotweb.Context.context中,以RequestID为key
* dotweb.DotWeb增加Close()、Shutdown()
2017-06-14 23:30
* 新增DotWeb & HttpServer.ListenAndServer(addr string) 支持原生host监听
* 新增DotWeb Close() & Shutdown() 支持优雅关闭服务
* Context增加Context() & SetTimeoutContext() & WithContext()
* Request增加自动生成unique RequestID,通过RequestID()获取,默认置入dotweb.Context.context中,以RequestID为key
* 2017-06-14 23:10
* 新增DotWeb & HttpServer.ListenAndServer(addr string) 支持原生host监听
* 新增DotWeb Close() & Shutdown() 支持优雅关闭服务
* Context增加Context() & SetTimeoutContext() & WithContext()
* Request增加自动生成unique RequestID,通过RequestID()获取,默认置入dotweb.Context.context中,以RequestID为key
* 2017-06-14 23:10
# Conflicts:
#	bind_test.go
#	test/util.go
@devfeel devfeel merged commit 5a2291d into devfeel:master Jun 15, 2017
devfeel added a commit that referenced this pull request Mar 3, 2026
- Upgrade gopkg.in/yaml.v2 to v3 (fixes DoS vulnerability)
- Upgrade golang.org/x/net to v0.51.0 (fixes XSS and proxy bypass)
- All tests pass

Resolves: Dependabot alerts #9, #10, #11, #24, #25
devfeel added a commit that referenced this pull request Mar 3, 2026
- Upgrade gopkg.in/yaml.v2 to v3 (fixes DoS vulnerability)
- Upgrade golang.org/x/net to v0.33.0 (fixes XSS and proxy bypass)
- Keep Go version at 1.21
- All tests pass

Resolves: Dependabot alerts #9, #10, #11, #24, #25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants