diff options
author | juhlig <[email protected]> | 2020-04-20 17:03:17 +0200 |
---|---|---|
committer | juhlig <[email protected]> | 2020-04-20 17:03:17 +0200 |
commit | 9765f305e1f55f758a683bd95665fd0ab84a52c3 (patch) | |
tree | a45cf397516b3e59f7a8065e7f76bba46a64e3d7 /src/ranch_transport.erl | |
parent | 821937cea1a9afacd2dc2448440ad6f64d3a29f1 (diff) | |
download | ranch-9765f305e1f55f758a683bd95665fd0ab84a52c3.tar.gz ranch-9765f305e1f55f758a683bd95665fd0ab84a52c3.tar.bz2 ranch-9765f305e1f55f758a683bd95665fd0ab84a52c3.zip |
Delete local socket file when a listener closes
Diffstat (limited to 'src/ranch_transport.erl')
-rw-r--r-- | src/ranch_transport.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ranch_transport.erl b/src/ranch_transport.erl index 5fd6242..23d9d5c 100644 --- a/src/ranch_transport.erl +++ b/src/ranch_transport.erl @@ -66,6 +66,7 @@ -callback shutdown(socket(), read | write | read_write) -> ok | {error, atom()}. -callback close(socket()) -> ok. +-callback cleanup(ranch:transport_opts(any())) -> ok. %% A fallback for transports that don't have a native sendfile implementation. %% Note that the ordering of arguments is different from file:sendfile/5 and |