Opened 7 years ago

Closed 6 years ago

#4869 closed defect (fixed)

Tirex: tirex master socket lose its peer

Reported by: miurahr Owned by: jochen@…
Priority: critical Milestone:
Component: tirex Version:
Keywords: socket Cc: frederik@…


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 that is patch for the problem.

Attachments (1)

tirex-peer-fix.diff (912 bytes) - added by miurahr 7 years ago.
revised patch

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by miurahr

Attachment: tirex-peer-fix.diff added

revised patch

comment:1 Changed 7 years ago by miurahr

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



comment:2 Changed 6 years ago by stephankn

Resolution: fixed
Status: newclosed

fixed in r29617

Note: See TracTickets for help on using tickets.