Skip to content

A client can easily send a Server that is using jSpace into an infinite loop of errors #24

Description

@Castleburg

A server creates a new SpaceRepository and adds a gate to it with an uri. Then it creates a new SequentialSpace and adds it to the SpaceRepository. The uri for the SpaceRepository is "tcp://"+ host + ":" + port + "/?keep". The uri to the SequentialSpace is "tcp://"+ host + ":" + port + "/Lounge?keep".

Now a client can send the server into throwing errors infinitely by connecting either directly to the SpaceRepository, using its uri, or a non-exsistant SqeuentialSpace and then do a 'System.exit(0)'. An example of a non-existant SqeuentialSpace could be: 'hostSpace = new RemoteSpace("tcp://" + host + ":" + port + "/ripServer?conn");'

EDIT: It also seems that a client doing a System.exit(0) while waiting for a get also seems to cause the same thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions