Compare commits

...

5 Commits

Author SHA1 Message Date
burybell
f11db9e5da
Merge fa1c0ce2abbd9e5432a440688ffe076d6832d3c6 into 3e44fdc4d1636a2b1599c6688a76e13216a413dd 2026-03-04 20:28:49 +08:00
dependabot[bot]
3e44fdc4d1
chore(deps): bump aquasecurity/trivy-action in the actions group (#4557)
Bumps the actions group with 1 update: [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action).


Updates `aquasecurity/trivy-action` from 0.34.1 to 0.34.2
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.34.1...0.34.2)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.34.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-04 14:10:36 +08:00
Bo-Yi Wu
fa1c0ce2ab
Merge branch 'master' into master 2026-02-28 10:07:54 +08:00
Bo-Yi Wu
d81699791a
Merge branch 'master' into master 2026-02-27 23:36:11 +08:00
linhujun
b0e3cdc077 fix(context): improve client disconnection handling in Stream method 2025-04-15 11:18:39 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ jobs:
fetch-depth: 0
- name: Run Trivy vulnerability scanner (source code)
uses: aquasecurity/trivy-action@0.34.1
uses: aquasecurity/trivy-action@0.34.2
with:
scan-type: "fs"
scan-ref: "."
@ -44,7 +44,7 @@ jobs:
sarif_file: "trivy-results.sarif"
- name: Run Trivy scanner (table output for logs)
uses: aquasecurity/trivy-action@0.34.1
uses: aquasecurity/trivy-action@0.34.2
if: always()
with:
scan-type: "fs"

View File

@ -1327,7 +1327,7 @@ func (c *Context) SSEvent(name string, message any) {
// indicates "Is client disconnected in middle of stream"
func (c *Context) Stream(step func(w io.Writer) bool) bool {
w := c.Writer
clientGone := w.CloseNotify()
clientGone := c.Request.Context().Done()
for {
select {
case <-clientGone: