Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2975151e97 | ||
|
|
abb1892af4 | ||
|
|
621da3c8fe | ||
|
|
09ff39cc82 |
+2
-1
@@ -19,7 +19,8 @@ EXPOSE 21114 21115 21116 21116/udp 21117 21118 21119
|
||||
|
||||
HEALTHCHECK --interval=10s --timeout=5s CMD /usr/bin/healthcheck.sh
|
||||
|
||||
WORKDIR /data
|
||||
WORKDIR /app
|
||||
|
||||
VOLUME /app/data
|
||||
|
||||
VOLUME /data
|
||||
|
||||
@@ -1181,7 +1181,8 @@ impl RendezvousServer {
|
||||
|
||||
async fn handle_listener2(&self, stream: TcpStream, addr: SocketAddr) {
|
||||
let mut rs = self.clone();
|
||||
if addr.ip().is_loopback() {
|
||||
let ip = try_into_v4(addr).ip();
|
||||
if ip.is_loopback() {
|
||||
tokio::spawn(async move {
|
||||
let mut stream = stream;
|
||||
let mut buffer = [0; 1024];
|
||||
|
||||
Reference in New Issue
Block a user