Feature #14696
closed
SO_ORIGINAL_DST is defined in linux kernel header, not glibc header.
The provided patch defines SO_ORIGINAL_DST as 80 in ext/socket/rubysocket.h.
There are several options:
- define the constant in Ruby as the patch.
This add (one) more magic number in Ruby
- include linux kernel headers.
It may conflict with glibc headers
- define the constant in application as
Socket::SO_ORIGINAL_DST = 80
- Related to Feature #6394: Support SO_ORIGINAL_DST socket option added
- Is duplicate of Feature #6394: Support SO_ORIGINAL_DST socket option added
- Related to deleted (Feature #6394: Support SO_ORIGINAL_DST socket option)
- Status changed from Open to Rejected
I didn't know SO_ORIGINAL_DST
is not defined in libc headers.
In this case, I'd suggest defining the constant in your application.
Matz.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0