Projects
Kolab:Winterfell
erlang-eimap
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 22
View file
erlang-eimap.spec
Changed
@@ -8,7 +8,7 @@ %define lock_version() %{1}%{?_isa} = %(rpm -q --queryformat "%%{VERSION}" %{1}) Name: erlang-%{realname} -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist} Summary: Erlang IMAP client Group: Development/Libraries @@ -77,6 +77,9 @@ %changelog +* Wed Apr 15 2020 Christian Mollekopf <mollekopf@kolabsys.com> - 0.4.2-1 +- Upstream release 0.4.2 + * Sat Mar 28 2020 Christian Mollekopf <mollekopf@kolabsys.com> - 0.4.1-1 - Upstream release 0.4.1
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +erlang-eimap (0.4.2-1.1) unstable; urgency=medium + + * Package the 0.4.2 release + + -- Christian Mollekopf <mollekopf@kolabsys.com> Wed, 15 Apr 2020 00:44:10 +0200 + erlang-eimap (0.4.1-1.1) unstable; urgency=medium * Package the 0.4.1 release
View file
erlang-eimap-0.4.1.tar.gz/rebar.config -> erlang-eimap-0.4.2.tar.gz/rebar.config
Changed
@@ -13,7 +13,7 @@ %%{require_otp_vsn, "17"}. {pre_hooks, [{clean, "rm -rf ebin priv erl_crash.dump"}]}. -{ relx, [ { release, { eimap, "0.4.1" }, [eimap]}, +{ relx, [ { release, { eimap, "0.4.2" }, [eimap]}, { dev_mode, false }, { include_erts, false } ]
View file
erlang-eimap-0.4.1.tar.gz/src/eimap.app.src -> erlang-eimap-0.4.2.tar.gz/src/eimap.app.src
Changed
@@ -2,7 +2,7 @@ {application, eimap, [ { description, "IMAP client implementation" }, - { vsn, "0.4.1" }, + { vsn, "0.4.2" }, { registered, [] }, { applications, [ kernel,
View file
erlang-eimap-0.4.1.tar.gz/src/eimap.erl -> erlang-eimap-0.4.2.tar.gz/src/eimap.erl
Changed
@@ -211,6 +211,21 @@ wait_response({ data, Data }, #state{ current_command = #command{ response_type = ResponseType, parse_state = CommandState , tag = Tag } } = State) -> Response = eimap_command:parse_response(ResponseType, Data, Tag, CommandState), %%lager:info("Response from parser was ~p ~p, size of queue ~p", [More, Response, queue:len(State#state.command_queue)]), + % FIXME + % Because several commands can be in flight at the same time, it can happen that we have something like: + % * Client send: CMD1, CMD2 (triggering a request for metadata) + % * Because we immediately after processing CMD2 from the client request metadata and start waiting for the response, + % a response that actually still belongs to CMD1 will not be recognized as such (will end up in here). + % + % Below is a workaround for that case; If we fail to parse the repsonse we simply assume it's none of our business and pass it trough. + % + % For a proper fix more work would be required, here are some ideas: + % * Track pending tags and only start associating with this command once we have all outstanding tags completed. The problem is that we don't know about pending tags because normally we don't look for them while passing through. + % * Buffer data and watch out for any tag. If its not ours pass the data through (would result in performance penalty only while waiting for the command). + case Response of + {more,{<<>>,[],_}} -> passthrough({data, Data}, State); + _ -> {} + end, NewState = cancel_timeout(State), next_command_after_response(Response, NewState); wait_response(process_command_queue, State) ->
View file
erlang-eimap.dsc
Changed
@@ -2,7 +2,7 @@ Source: erlang-eimap Binary: erlang-eimap Architecture: any -Version: 0.4.1-1.1 +Version: 0.4.2-1.1 Maintainer: Christoph Erhardt <kolab@sicherha.de> Homepage: https://git.kolab.org/diffusion/EI/eimap.git Standards-Version: 3.9.6 @@ -10,5 +10,5 @@ Package-List: erlang-eimap deb devel extra Files: - 00000000000000000000000000000000 0 erlang-eimap-0.4.1.tar.gz + 00000000000000000000000000000000 0 erlang-eimap-0.4.2.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.