[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#623167: cupt: unable to set download client socket timeout: Protocol not available



Jonathan Nieder, le Sun 17 Apr 2011 19:29:25 -0500, a écrit :
> hurd (even upstream "master" as of today) has a stub implementation
> for S_socket_setopt in pflocal/socket.c which always returns either
> EOPNOTSUPP or ENOPROTOOPT[*].

It's not really a stub, it's an empty switch() statement, just waiting
for implementations :)

> [*] This looks like a bug.  For example, if I understand correctly,
> getsockopt on SO_RCVTIMEO is supposed to succeed whether setting it is
> allowed or not.

Indeed, it'd probably be good to implement the get part (just like
pfinet is doing atm).

Samuel


Reply to: