Skip to content

Server produces incomplete connection initiation message. #4

@olexandr-konovalov

Description

@olexandr-konovalov

@defeo I was told by @sebasguts about this - please see gap-packages/scscp#9.

Indeed, page 11 of SCSCP 1.3 specification says:

"The format of the control sequence is compulsory, and server implementations must not change the order of the attribute/value pairs nor omit some of them. This strict
restriction makes it sure that even very simple clients should be able to parse this
control sequence."

However, Python SCSCP server produces incomplete connection initiation message: with SetInfoLevel(InfoSCSCP,4) in GAP, I can see that:

gap> GetServiceDescription("localhost",26133);
#I  Creating a socket ...
#I  Connecting to a remote socket via TCP/IP ...
#I  Got connection initiation message
#I  <?scscp scscp_versions="1.3" ?>

An example of a properly formatted connection initiation message returned by a GAP SCSCP server:

gap> GetServiceDescription("localhost",26134);
#I  Creating a socket ...
#I  Connecting to a remote socket via TCP/IP ...
#I  Got connection initiation message
#I  <?scscp service_name="GAP" service_version="4.8.6" service_id="localhost:26134:65854" scscp_versions="1.0 1.1 1.2 1.3" ?>

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