Skip to content

Randomly modify XMPP resource for each process #4

@hakanai

Description

@hakanai

When running in single connection per process mode, multiple processes logging in as the same user and resource will potentially cause the first or second connection will be kicked off, depending on the server. (Some servers such as gmail.com already randomly modify the resource.)

This could be done with process ID but since that is a subtle information leak and also platform-dependent, I'm thinking of using some kind of random number. (But random numbers might clash, so I'm not sure what to do about that.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions