Added support for HTTPS_PROXY / HTTP_PROXY / NO_PROXY env vars#10
Merged
Added support for HTTPS_PROXY / HTTP_PROXY / NO_PROXY env vars#10
HTTPS_PROXY / HTTP_PROXY / NO_PROXY env vars#10Conversation
…p_proxy` env vars
3 tasks
HTTPS_PROXY / https_proxy / HTTP_PROXY / http_proxy env varsHTTPS_PROXY / HTTP_PROXY / NO_PROXY env vars
MQ37
added a commit
that referenced
this pull request
Mar 3, 2026
commit 1e35f2f Author: Dušan Vystrčil <vystrcil.dusan@gmail.com> Date: Tue Mar 3 10:25:50 2026 +0100 fix: flush stdout before process.exit() to prevent pipe truncation (#17) When mcpc output exceeds 64KB and stdout is piped (e.g. `mcpc ... --json | jq`), the output was silently truncated at exactly 65,536 bytes (the kernel pipe buffer size), producing broken JSON. Root cause: when stdout is a pipe, Node.js uses async I/O. `process.exit(0)` terminates the process before buffered data is fully written to the pipe. When stdout is a file or TTY, Node.js uses sync I/O, so data is written before exit. The fix waits for stdout to drain before calling process.exit(0). Reproduction: mcpc @apify tools-call get-actor-output datasetId:="..." --json | wc -c Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> commit c7ea6f2 Author: Jan Curn <jan.curn@gmail.com> Date: Mon Mar 2 13:15:22 2026 +0100 Updated CHANGELOG.md, improved release process commit 3861f51 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Mar 2 11:19:49 2026 +0100 Add renovate.json (#13) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit ba193b8 Author: Jan Curn <jan.curn@gmail.com> Date: Sun Mar 1 23:36:16 2026 +0100 v0.1.10 commit 8400ca3 Author: Jan Curn <jan.curn@gmail.com> Date: Sun Mar 1 23:21:57 2026 +0100 Added support for `HTTPS_PROXY` / `HTTP_PROXY` / `NO_PROXY` env vars (#10) * Added support for `HTTPS_PROXY` / `https_proxy` / `HTTP_PROXY` / `http_proxy` env vars * Improvements * Improvements * Fixes * Fixes * Nits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inspired by #5, but fewer code changes.
Also includes fixes of tests and other small changes.