fuzz reads - #216
Conversation
| chunk := make([]byte, maxCatChunk) | ||
| var total int64 | ||
| for { | ||
| n, rerr := contentReader.Read(chunk) |
| pending = pending[currLen:] | ||
| } | ||
|
|
||
| if _, werr := rw.Write(writeChunk); werr != nil { |
| pending = pending[currLen:] | ||
| } | ||
|
|
||
| if _, werr := rw.Write(writeChunk); werr != nil { |
| } | ||
|
|
||
| if _, werr := rw.Write(writeChunk); werr != nil { | ||
| if errors.Is(werr, syscall.EPIPE) || errors.Is(werr, io.ErrClosedPipe) { |
| } | ||
|
|
||
| if _, werr := rw.Write(writeChunk); werr != nil { | ||
| if errors.Is(werr, syscall.EPIPE) || errors.Is(werr, io.ErrClosedPipe) { |
|
|
||
| if _, werr := rw.Write(writeChunk); werr != nil { | ||
| if errors.Is(werr, syscall.EPIPE) || errors.Is(werr, io.ErrClosedPipe) { | ||
| ylogger.Zero.Warn().Err(werr).Uint("client id", ycl.ID()).Int64("copied bytes", total).Msg("yfuzzer: client disconnected during cat") |
| } | ||
| total += int64(n) | ||
| } | ||
| if rerr != nil { |
| total += int64(n) | ||
| } | ||
| if rerr != nil { | ||
| if !errors.Is(rerr, io.EOF) { |
| } | ||
| if rerr != nil { | ||
| if !errors.Is(rerr, io.EOF) { | ||
| if errors.Is(rerr, syscall.EPIPE) || errors.Is(rerr, io.ErrClosedPipe) { |
| } | ||
| if rerr != nil { | ||
| if !errors.Is(rerr, io.EOF) { | ||
| if errors.Is(rerr, syscall.EPIPE) || errors.Is(rerr, io.ErrClosedPipe) { |
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, 👼 SARIF report, or 📝 job summary for details.Unrecognized words (2)rerr These words are not needed and should be removedfuzz ymlTo accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands... in a clone of the git@github.com:open-gpdb/yproxy.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/open-gpdb/yproxy/actions/runs/32058946767/attempts/1' &&
git commit -m 'Update check-spelling metadata'OR To have the bot accept them for you, comment in the PR quoting the following line: Available 📚 dictionaries could cover words (expected and unrecognized) not in the 📘 dictionaryThis includes both expected items (283) from .github/actions/spelling/expect.txt and unrecognized words (2)
Consider adding them (in cspell:golang/dict/go.txt
cspell:node/dict/node.txt
cspell:php/dict/php.txt
cspell:python/src/python/python-lib.txt
cspell:dotnet/dict/dotnet.txt
cspell:fullstack/dict/fullstack.txt
cspell:java/src/java.txt
cspell:python/src/python/python.txt
cspell:typescript/dict/typescript.txt
cspell:k8s/dict/k8s.txt
cspell:filetypes/filetypes.txt
cspell:r/src/r.txt
cspell:django/dict/django.txt
cspell:aws/aws.txt
cspell:cpp/src/stdlib-c.txt
cspell:rust/dict/rust.txt
cspell:scala/dict/scala.txt
cspell:cpp/src/stdlib-cpp.txt
cspell:npm/dict/npm.txt
cspell:lua/dict/lua.txtTo stop checking additional dictionaries, add (in check_extra_dictionaries: ""Pattern suggestions ✂️ (11)You could add these patterns to Alternatively, if a pattern suggestion doesn't make sense for this project, add a Warnings and Notices
|
| Count | |
|---|---|
| ℹ️ candidate-pattern | 17 |
| 2 | |
| ℹ️ unused-config-file | 1 |
See
If the flagged items are 🤯 false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it,
try adding it to thepatterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
🚂 If you're seeing this message and your PR is from a branch that doesn't have check-spelling,
please merge to your PR's base branch to get the version configured for your repository.
No description provided.