diff options
author | Dan Winship <danw@gnome.org> | 2009-05-21 18:36:17 -0300 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-05-21 18:36:17 -0300 |
commit | dfdde36f28e3092c6ac20ecae3774903be92a153 (patch) | |
tree | 799cc12db1c6a345070f80c46dfe88b720db5195 /autogen.sh | |
parent | 67550155116e9d6bcfe6b1adbc96fdf6d2b03c4f (diff) | |
download | libsoup-dfdde36f28e3092c6ac20ecae3774903be92a153.tar.gz libsoup-dfdde36f28e3092c6ac20ecae3774903be92a153.tar.bz2 libsoup-dfdde36f28e3092c6ac20ecae3774903be92a153.zip |
Don't emit "authenticate" until a message is actually sent and fails.
In some cases, we're reasonably sure it's going to fail if we don't
emit authenticate, but forcing callers to deal with both the
pre-sending and post-sending cases in their authenticate handlers
makes writing them tricky. (In particular, calling
soup_message_io_pause() in the pre-sending case won't work, since the
message hasn't actually started yet.) This also solves the problem
that we were previously emitting "authenticate" both before and after
the message was sent in some cases.
Add a regression test for this case (written by Gustavo Noronha, who
figured out the circumstances where the bug was happening), and tweak
the existing regression tests to match the new rules.
http://bugzilla.gnome.org/show_bug.cgi?id=583462
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions