Jack Moffitt
ce908d03ca
Add RPM spec file.
...
Thanks to Florent Peterschmitt for this work.
2013-05-17 21:51:05 -06:00
Jack Moffitt
f50be4217d
Move repository.
2013-04-30 10:38:51 -06:00
Jack Moffitt
ba011b38db
Merge pull request #42 from luiscuriel/master
...
Solved bug with recv on Windows. Fixed indenting
2013-04-20 15:04:52 -07:00
KuRi
28319c2c0d
Fixed Indenting
2013-04-19 23:13:15 +02:00
KuRi
43aa61f3db
Updated file format
2013-04-19 22:49:05 +02:00
KuRi
840bfda332
Changed TimedOut error to Conn Reset
2013-04-19 22:45:02 +02:00
Luis Angel Curiel Sanz
cc9e29c671
Fixed sock_read on Windows when returning cero
...
Fixed coding style
2013-04-19 10:46:47 +02:00
Luis Angel Curiel Sanz
b41732ada7
Fixed bug on sock_read. It returns 0 when an error reading occurs, and this situation was not being controlled.
2013-04-19 08:39:59 +02:00
Jack Moffitt
6a5e1ac969
Added support for detecting system libxml2.
2013-03-29 09:47:14 -06:00
Jack Moffitt
4ad21c9283
Merge pull request #32 from ittner/fix-xml-escaping
...
Fix escaping of XML text and attributes
2013-03-29 08:04:25 -07:00
Alexandre Erwin Ittner
c0b1e5b7fe
Fix escaping of XML text and attributes
...
There was a bug in xmpp_send which caused XML special characters to be
sent to the server verbatim, implying in invalid stanzas and making the
server drop the connection. This commit fixed the bug escaping such
characters with the usual rules.
Bugs: The code now do several (de)allocation operations in every send,
this may have a negative effect on performance when used with slow
memory managers.
License: This code is distributed under the same license used by strophe
(i.e., GPLv3 or MIT).
2012-09-23 17:18:53 -03:00
Jack Moffitt
5f174b646f
Merge pull request #20 from boothj5/master
...
Option to disable TLS
2012-05-19 21:40:49 -07:00
James Booth
5875390968
Fixed spacing
2012-05-20 05:16:20 +01:00
James Booth
a572d055a8
Fixed wrong flag setting
2012-05-20 02:10:19 +01:00
James Booth
9615a55856
Added option to disable TLS
...
The connection object includes a tls_support flag, which can
be disabled with xmpp_conn_disable_tls().
2012-05-20 01:50:32 +01:00
Jack Moffitt
cc979d4811
Merge pull request #16 from flosse/master
...
solved configuring problems (Ubuntu 11.10)
2012-02-26 04:03:13 -08:00
Markus Kohlhase
f502fd1fe4
added missing newline character to fix configuring errors
2012-02-26 12:49:40 +01:00
Jack Moffitt
a8c1d25f5c
Correctly check for -lresolv need by using resolv.h.
...
Doing this with AC_SEARCH_LIBS doesn't work because the res_query is a #define.
2012-02-25 14:24:49 -07:00
Jack Moffitt
dfa2786efb
Merge pull request #15 from flosse/extend-basic-example
...
added host parameter; replaced tabs with whitespace
2012-02-15 20:33:38 -08:00
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