Opened 6 years ago

Closed 5 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@…

Description

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 https://github.com/miurahr/tirex/commit/fde9bceb303c4fbf8e8c0c22cf5cede7a12dd170 that is patch for the problem.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by miurahr

Attachment: tirex-peer-fix.diff added

revised patch

comment:1 Changed 6 years ago by miurahr

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

Thanks,

Hiroshi

comment:2 Changed 5 years ago by stephankn

Resolution: fixed
Status: newclosed

fixed in r29617

Note: See TracTickets for help on using tickets.