Commit Graph

159 Commits

Author SHA1 Message Date
Markus Kohlhase
95fd3ea3d0 added host parameter; replaced tabs with whitespace 2012-02-15 01:26:09 +01:00
Jack Moffitt
713cfa245a Another try at OpenBSD fixes.
nameser_compat.h is required on Darwin, but doesn't exist on
OpenBSD. Also, OpenBSD doesn't support the ns_c_in or ns_t_srv enums,
so the C_IN and T_SRV macros are required.
2012-02-10 22:10:32 -07:00
Jack Moffitt
aadc58711b Build fixes for OpenBSD.
Fixes #14. Issue discovered and fixes based on patch by Pierre-Emmanuel André.
2012-02-08 22:00:06 -07:00
Jack Moffitt
f9471368f5 Fix snprintf warnings about missing format strings. 2012-02-08 21:46:37 -07:00
Jack Moffitt
143eec7e1f Remove need for nameser_compat.h. 2012-02-08 21:46:25 -07:00
Jack Moffitt
7032ede88a Missed a bit of cleanup. 2012-02-08 08:52:16 -07:00
Andrew Potter
128c155681 Fix memory leak in commit 30d4f2b7
va_end() has to be called after each invocation of va_copy(). So when
log messages are short, the copy was leaked. When log messages were
long, the old ap would get lost.
2012-02-08 00:00:57 -07:00
Jack Moffitt
311e09a99a Update version number to 0.8-snapshot. 2012-02-07 23:32:49 -07:00
Jack Moffitt
eb9d1eb760 Fix dist targets. 2012-02-07 23:32:37 -07:00
Jack Moffitt
b59149f3e9 Update doxygen config. 2012-02-07 23:32:18 -07:00
Jack Moffitt
1da1ef2e16 Removed unused .gitmodules. 2012-02-07 23:32:07 -07:00
Jack Moffitt
76242c3225 Remove obsolete CHANGES.txt. 2012-02-07 23:08:00 -07:00
Jack Moffitt
fc3d025c7f Fix compiler warning. 2012-02-07 22:57:46 -07:00
Jack Moffitt
801a844e30 Initialize conn->state.
Fixes #13.
2012-02-07 22:54:09 -07:00
Jack Moffitt
13175787fc Document handler return values. 2012-02-07 22:49:56 -07:00
Jack Moffitt
ee8afdb64e Memory leak fixes from @elisamanfrin.
Fixes issue #4.
2012-02-07 22:46:38 -07:00
Jack Moffitt
9b50b56dbb Fix docs and build system. 2012-02-07 22:46:38 -07:00
Jack Moffitt
90d4c54d81 Merge pull request #12 from vladmihaisima/fix_ssl
Bug when using SSL communication
2012-02-07 20:33:56 -08:00
Jack Moffitt
d30a313148 Merge pull request #10 from hoelzro/master
Fix logging when stanzas are too big
2012-02-07 20:30:10 -08:00
U-vladms-pc\vladms
5344669bb7 Added tls_pending to windows schannel implementation of tls 2012-01-10 17:35:53 +01:00
Vlad-Mihai Sima
511606835d Bug fix: when using tls, if a stanza is bigger than the buffer of 4096 in event.c, the stanza will not be read as select will return 0 on the ssl socket and the data will be in ssl buffers. Partial fix, only for Linux for now 2012-01-01 20:09:18 +01:00
Rob Hoelz
30d4f2b78d Fixing logging when stanzas are too big 2011-09-07 20:09:19 -05:00
Jack Moffitt
bdd70fcfaf Merge pull request #6 from rzuck/master
Fix for API error using libxml2 as the parser for libstrophe
2011-05-07 12:51:52 -07:00
Russell Zuck
270599246b update to README.txt to include instructions for acquiring the expat submodule 2011-05-05 14:14:42 -06:00
Russell Zuck
d00a70a406 removed the line in Makefile.am that defines libstrophe_a_HEADERS that was causing ./configure to fail 2011-05-05 13:35:38 -06:00
Russell Zuck
9871458642 update to README to reflect current build steps 2011-05-05 13:32:09 -06:00
Russell Zuck
28da8ea988 fix for error in return status logic from libxml2 function 2011-05-05 13:22:23 -06:00
Jack Moffitt
a02ce0151d A few build fixes. Found and suggested by David C. 2010-06-09 10:30:20 -06:00
Dustin Sallings
d048124969 Capture the bound jid.
I'd kind of like to be able to discover the JID with full resource for
some operations.
2009-06-15 14:37:21 -07:00
Matt Ingenthron
43facaff45 Added check for openssl headers to fail more gracefully on Ubuntu 8.0.4 LTS 2009-06-15 14:37:21 -07:00
Matt Ingenthron
a18cecd002 Added AC_SEARCH_LIBS for compilation on OpenSolaris 2009-06-15 14:37:21 -07:00
Dustin Sallings
e5d1f46170 Ignore docs. 2009-06-15 14:37:21 -07:00
Jack Moffitt
370a371800 Dual licensed libstrophe under MIT and GPLv3.
Updated copyright headers.
2009-06-15 15:26:10 -06:00
Jack Moffitt
a58b0e4b04 Patch to fix select time values from xue yong zhi <xue.yong.zhi@gmail.com> applied. 2009-05-05 13:29:01 -06:00
Arc Riley
17733544c3 Made doxygen input/output directories relative 2009-05-05 10:18:48 -06:00
Jack Moffitt
2eb9847ba8 Fixed memory leak in one off handlers. 2009-04-14 15:53:04 -06:00
Jack Moffitt
398d774c59 Fixed memory leak in new parser abstraction. 2009-04-14 15:36:03 -06:00
Jack Moffitt
b522704567 Merge commit 'dustin/master'
* commit 'dustin/master':
  Ignore test artifacts.
  Ignore TAGS.
  Log the result of a connect.
  If an altdomain was specified, use it instead of SRV lookups.
  Free the connection language.
  Handle a case where the query has no namespace.
2009-04-14 14:53:29 -06:00
Jack Moffitt
20bac5b4de Fixed small memory leak in id handler logic. 2009-04-14 14:22:34 -06:00
Dustin Sallings
a06ec86266 Ignore test artifacts. 2009-04-14 13:11:38 -07:00
Dustin Sallings
57454c9bf9 Ignore TAGS. 2009-04-14 13:11:38 -07:00
Dustin Sallings
690c0c1e85 Log the result of a connect. 2009-04-14 13:11:38 -07:00
Dustin Sallings
e852bfb62e If an altdomain was specified, use it instead of SRV lookups.
For whatever reason, SRV lookups are hanging for me for about 30
seconds making testing suck.
2009-04-14 13:11:38 -07:00
Dustin Sallings
3156f5044f Free the connection language.
This created a memory leak when freeing a connection.
2009-04-14 13:11:38 -07:00
Dustin Sallings
2b661bd1f4 Handle a case where the query has no namespace.
When I tried this sample code, it failed due to a NULL namespace being
returned (and a later strdup(NULL)).
2009-04-14 13:11:33 -07:00
Jack Moffitt
3fd7515dcf Abstracted XML parser library and switched to autotools building.
expat is still the default parser, but libxml2 can also be used
via an option to the configure script.  New parsers can easily be
added by implementing a parser_foo.c that uses the interface defined
in parser.h.
2009-04-14 13:47:20 -06:00
Jack Moffitt
f29b42adef Added bot example binary to ignores. 2009-04-14 13:47:20 -06:00
Jack Moffitt
1ac33269ac Removed unneeded variables from bot.c. 2009-04-14 13:47:20 -06:00
Jack Moffitt
6b1c790a7f Update ignores. 2009-04-14 13:47:20 -06:00
Jack Moffitt
ec54e6947c Removed SCons. 2009-04-14 13:47:20 -06:00