aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth2.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-12-02 16:32:59 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2012-12-02 16:32:59 +0000
commitb0ee7200338e3bb41b1c770185f368f0345c2f55 (patch)
treedfac9b92a65f5fdc3dd5d158f203dcf4bd2f4ecd /lib/oauth2.c
parentb3eee9b8d9fb2b1b41fe977fe6b97e3609f6bda8 (diff)
Error handling fix in xmltree. Fixes a problem where if the start of the
stream is spread over two packets (or SSL records in this case), xt_handle() would report a fatal error (which normally means the connection has failed and should be abandoned immediately). Returning 1 is likely more correct; just the fact that there's no data to process yet is not a fatal failure. This fixes potential issues with Google Talk when using OpenSSL (which seems to be feeding data on record boundaries, even if additional records have already been received).
Diffstat (limited to 'lib/oauth2.c')
0 files changed, 0 insertions, 0 deletions