Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
3204-ftp-Wait-for-user-to-call-recv_chunk-1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3204-ftp-Wait-for-user-to-call-recv_chunk-1.patch of Package erlang
From 1047227b007529832bb17d0ee6775a1c47e4f56d Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin <ingela@erlang.org> Date: Tue, 6 Oct 2020 11:24:05 +0200 Subject: [PATCH 4/6] ftp: Wait for user to call recv_chunk/1 --- lib/ftp/src/ftp.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ftp/src/ftp.erl b/lib/ftp/src/ftp.erl index 4b15c58b19..92d2119945 100644 --- a/lib/ftp/src/ftp.erl +++ b/lib/ftp/src/ftp.erl @@ -1887,6 +1887,10 @@ handle_ctrl_result({pos_compl, _}, #state{caller = #recv_chunk_closing{}=R} ?DBG("recv_chunk_closing pos_compl, wait more",[]), {noreply, State0#state{caller = R#recv_chunk_closing{pos_compl_received=true}}}; +handle_ctrl_result({pos_compl, _}, #state{caller = undefined, chunk = true} + = State0) -> + %% Waiting for user to call recv_chunk + {noreply, State0#state{caller = #recv_chunk_closing{pos_compl_received=true}}}; %%-------------------------------------------------------------------------- %% File handling - recv_file -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor