[Pidgin] #3730: Implementation for file-sending through proxies
Pidgin
trac at pidgin.im
Fri Nov 2 06:12:04 EDT 2007
#3730: Implementation for file-sending through proxies
--------------------+-------------------------------------------------------
Reporter: galt | Owner: nwalp
Type: patch | Status: new
Priority: minor | Milestone:
Component: XMPP | Version: 2.2.2
Resolution: | Keywords: file,transfer,proxy
Pending: 0 |
--------------------+-------------------------------------------------------
Comment (by evands):
Re: freeing various things: Okay, sounds good. I'm working in a vacuum
recently so couldn't put that structure in context of the rest of the prpl
- your explanation jives for me.
> Also, I have a question about libpurple callbacks. Can a callback be
called while another one is still running? Or are they queued? I was
wondering about that when I realized that by the standard, if the other
side decides to connect directly, they would both connect and send the
streamhost-used, hence triggering 2 different callbacks.
I'm not 100% sure what you're asking, but I think the answer is 'no'.
Libpurple is not designed to run on multiple threads simultaneously, so
two functions could not run simultaneously.
Alternately, if you're asking if one callback can trigger another callback
before finishing, that's certainly possible depending on the code path.
Alternately, if you're asking if two different callbacks could possibly
both be triggered (at different times) despite being involved in a single
file transfer, the answer is "yes, I'd think so, assuming the code or the
protocol doesn't explicitly prevent that".
Does that help?
--
Ticket URL: <http://developer.pidgin.im/ticket/3730#comment:5>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list