Skip to content

CDP4ServicesDal: Injected httpClient bugs #325

@antoineatstariongroup

Description

@antoineatstariongroup

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the COMET-SDK
  • I have searched open and closed issues to ensure it has not already been reported

Description

After testing the injection of the HttpClient into the CDP4ServicesDal, here are found bugs:

  • After a CloseSession, any further request will fails since the HttpClient has been disposed
  • If the first Login fails, next login will fail since a Request has already been send but the BaseAddress of the HttpClient wants to be set again

Steps to Reproduce

System Configuration

  • COMET version:
    • CDP4Common:
    • CDP4JsonSerializer:
    • CDP4Dal:
    • CDP4JsonFileDal:
    • CDP4ServicesDal:
    • CDP4WspDal:
    • Other:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Be Estimated

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions