linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07926
[Bug 1273119] Re: HttpManager direct callbacks
this is good; please commit.
can you document the ConnFlags flags? i got their meaning but it might
not be obvious.
i am only slightly annoyed by the introduction of the notion of "file"
in HttpManager; i was hoping it could remain oblivious to what is
represented by streams. but the changes are done in a nifty way so i'm
fine with them. :)
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1273119
Title:
HttpManager direct callbacks
Status in DC++:
New
Bug description:
Below patch contains support for direct callbacks with HttpManager as
well as support for managed file streams.
Direct callbacks offer guarantees that the current Speaker & Listener
model does not give. One potential example is having plugins interact
with HttpManager, where we want to quarantee that a) plugin is the
last one to get notified and b) that it is safe for the core core to
relinquish control (ie. close a file handle for example).
And it is sometimes just simpler not having to micro manage the
connection pointers, if all you are interested in is the end points of
the operation.
The patch should not impact current usage of HttpManager in any way.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1273119/+subscriptions
References