Skip to content

Obscure NullReferenceException if server does not provide a Content-Type header in polling transport  #18

Open
@vsoldatkin

Description

@vsoldatkin

You'll get a null reference here: https://github.com/Quobject/EngineIoClientDotNet/blob/master/Src/EngineIoClientDotNet.mono/Client/Transports/PollingXHR.cs#L328

It is accessed later in an octet-stream check producing a NullReferenceException which is quite hard to grasp using a release nuget build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions