Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Tirex: tirex master socket lose its peer #4869

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Tirex: tirex master socket lose its peer #4869

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: miurahr
[Submitted to the original trac issue database at 12.49am, Sunday, 2nd June 2013]

Tirex master.sock unix domain datagram socket need to remember peer who send request.

This cause that reply packet LOSS, because it ALWAYS send reply to most recent client even when it is related to previous requested client. (now client means thread/process/coroutine of tile server software such as TileMan)

A misunderstanding that unix domain socket datagram is connection-(state)-less but connection-(peer)-less.

please look here miurahr/tirex@fde9bce that is patch for the problem.

@openstreetmap-trac
Copy link
Author

Author: miurahr
[Added to the original trac issue at 6.50am, Sunday, 2nd June 2013]

A commit at previous github url is not perfect. I attached new patch.

Thanks,

Hiroshi

@openstreetmap-trac
Copy link
Author

Author: stephankn
[Added to the original trac issue at 6.11am, Sunday, 13th July 2014]

fixed in r29617

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant