mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
reactor: wire up shutdown() on pollable_fd
This commit is contained in:
@@ -174,6 +174,7 @@ public:
|
||||
future<size_t> recvmsg(struct msghdr *msg);
|
||||
future<size_t> sendto(socket_address addr, const void* buf, size_t len);
|
||||
file_desc& get_file_desc() const { return _s->fd; }
|
||||
void shutdown(int how) { _s->fd.shutdown(how); }
|
||||
void close() { _s.reset(); }
|
||||
protected:
|
||||
int get_fd() const { return _s->fd.get(); }
|
||||
|
||||
Reference in New Issue
Block a user