GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — storage: a way to abort a request · Issue #600 · googleapis/google-cloud-node

storage: a way to abort a request #600

New issue
Copy link
New issue
Copy link
Closed
Closed
storage: a way to abort a request#600
Copy link
Assignees
gmiroshnykov
Labels
api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.
Milestone
Storage Future

Description

@gmiroshnykov
gmiroshnykov
opened on May 15, 2015
Issue body actions

It seems there is no way to abort an upload or download request created by file.createWriteStream() and file.createReadStream() respectively.

Node's native HTTP client has request.abort(), but as far as I can tell the above methods return simple through2 streams and keep the raw HTTP requests / responses hidden.

So is there a way to abort a request in progress?

Activity

Next
  1. jgeewax
    added
    type: questionRequest for information or clarification. Not an issue.
    api: storageIssues related to the Cloud Storage API.
    on May 15, 2015
  2. jgeewax
    added this to the Storage Future milestone on May 15, 2015
  3. ryanseys commented on May 17, 2015

    @ryanseys
    ryanseys
    on May 17, 2015
    Contributor
    More actions

    You should be able to destroy the stream with stream.destroy() and assuming that validation is turned on (on by default), the upload/download will fail. Can you try that and let us know how that works?

    Reacted by Adam Craven
  4. gmiroshnykov commented on May 17, 2015

    @gmiroshnykov
    gmiroshnykov
    on May 17, 2015
    Author
    More actions

    stream.destroy() seems to work great, thanks!

  5. gmiroshnykov
    closed this as completedon May 17, 2015
  6. ryanseys commented on May 17, 2015

    @ryanseys
    ryanseys
    on May 17, 2015
    Contributor
    More actions

    Perfect! Glad we could help! 😄

  7. JustinBeckwith
    assigned
    gmiroshnykov
    on Feb 1, 2021
  8. sofisl
    added 4 commits that reference this issue on Oct 11, 2022

    fix: Updating WORKSPACE files to use the newest version of the Typesc…

    52770fa

    chore: release 4.2.8 (#601)

    752c6b6

    fix: Updating WORKSPACE files to use the newest version of the Typesc…

    901abf3

    chore: release 4.2.8 (#601)

    b560cae
  9. sofisl
    added 2 commits that reference this issue on Nov 11, 2022

    chore(main): release 4.1.0 (#600)

    1b83e00

    chore(deps): update dependency @types/sinon to v10 (#600)

    6eb1d03
  10. GautamSharda
    added a commit that references this issue on Jan 14, 2026

    chore: relocate owl bot post processor (#600)

    6eeea65
  11. 6 remaining items

  12. GautamSharda
    added 2 commits that reference this issue on Feb 2, 2026

    chore: Report warning on `.github/workflows/ci.yaml` (#600)

    1f77856

    chore: Report warning on `.github/workflows/ci.yaml` (#600)

    c2c967f
  13. sofisl
    added a commit that references this issue on Feb 4, 2026

    migrate code from googleapis/cloud-profiler-nodejs (#7087)

    288deb4
  14. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    chore: relocate owl bot post processor (#600)

    58c4876
  15. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    chore: relocate owl bot post processor (#600)

    6eb030d
  16. sofisl
    added a commit that references this issue on Feb 24, 2026

    chore(deps): update dependency nyc to v14 (#600)

    d48c17e
  17. GautamSharda
    added a commit that references this issue on Feb 26, 2026

    chore: relocate owl bot post processor (#600)

    90f5e80
  18. sofisl
    added a commit that references this issue on Feb 26, 2026

    fix(deps): update dependency @google-cloud/precise-date to v1 (#600)

    aeb0ace
  19. GautamSharda
    added 2 commits that reference this issue on Mar 5, 2026

    fix(deps): gcp-metadata now handles ENETUNREACH (#600)

    f1e2326

    chore: delete Node 8 presubmit tests (#600)

    990be80
  20. sofisl
    added a commit that references this issue on Mar 17, 2026

    feat!: Standardize `baseURL` to `URL`’s spec (#600)

    cb894eb
  21. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    chore(deps): update dependency mocha to v7 (#600)

    4fd549e

    chore(deps): update dependency mocha to v7 (#600)

    369b944
  22. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    chore(deps): update dependency mocha to v7 (#600)

    a0f453a
  23. thiyaguk09
    added a commit that references this issue on May 5, 2026

    chore(deps): update dependency mocha to v7 (googleapis#600)

    e8f3710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @gmiroshnykov
    gmiroshnykov

Labels

api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    • Storage Future

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.