diff options
author | dzwdz | 2023-09-02 22:39:59 +0200 |
---|---|---|
committer | dzwdz | 2023-09-02 22:39:59 +0200 |
commit | fd80c0b227336f4650d6b54d82469feb017aeded (patch) | |
tree | 8992f0a6d9626d9666984b55ce2ed2eaceb856bf /src/cmd/socksfs/socksfs.c | |
parent | c8d6ce89f19aaa459d5a86c7909d3f3b6aac15d4 (diff) |
netstack: only return from open() once the socket connects
Diffstat (limited to 'src/cmd/socksfs/socksfs.c')
-rw-r--r-- | src/cmd/socksfs/socksfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/socksfs/socksfs.c b/src/cmd/socksfs/socksfs.c index 4f530f4..9469d0c 100644 --- a/src/cmd/socksfs/socksfs.c +++ b/src/cmd/socksfs/socksfs.c @@ -70,7 +70,6 @@ fs_open(char *path, int flags) { * 0x01 one authentication method: * 0x00 no auth */ char buf[512]; - sleep(1); // TODO fix the netstack write(h->sock, "\x05\x01\x00", 3); errno = EGENERIC; |