Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore error when forcefully closing the socket #601

Merged
merged 4 commits into from
Apr 15, 2020

Commits on Apr 14, 2020

  1. fix: ignore error when forcefully closing the socket

    In order to catch the following errors:
    
    ```
    events.js:288
          throw er; // Unhandled 'error' event
          ^
    
    Error: write EPIPE
        at afterWriteDispatched (internal/stream_base_commons.js:154:25)
        at writeGeneric (internal/stream_base_commons.js:145:3)
        at Socket._writeGeneric (net.js:780:11)
        at Socket._write (net.js:792:8)
        at doWrite (_stream_writable.js:441:12)
        at writeOrBuffer (_stream_writable.js:425:5)
        at Socket.Writable.write (_stream_writable.js:316:11)
        at abortConnection (<myproject>/node_modules/engine.io/lib/server.js:506:12)
        at <myproject>/node_modules/engine.io/lib/server.js:353:7
        at Server.verify (<myproject>/node_modules/engine.io/lib/server.js:158:14)
        at Server.handleUpgrade (<myproject>/node_modules/engine.io/lib/server.js:351:8)
    ```
    darrachequesne committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    3dd3313 View commit details
    Browse the repository at this point in the history
  2. fix node.js 8 test

    darrachequesne committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    ebb67b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. style

    darrachequesne committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    eb0e7d2 View commit details
    Browse the repository at this point in the history
  2. style!

    darrachequesne committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    14b7df5 View commit details
    Browse the repository at this point in the history