<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libxs.git/src, branch sp</title>
<subtitle>mato's libxs tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/'/>
<entry>
<title>Implement SP wire protocol</title>
<updated>2012-05-20T05:40:11+00:00</updated>
<author>
<name>Martin Lucina</name>
<email>martin@lucina.net</email>
</author>
<published>2012-05-20T05:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=1d76284dee8e9b0735a26ee98a3edcd9f5208f09'/>
<id>1d76284dee8e9b0735a26ee98a3edcd9f5208f09</id>
<content type='text'>
Implements the SP wire protocol, and infrastructure for legacy wire
protocol support.

Also added an XS_SERVICE_ID socket option to set the service id and renamed
the XS_PROTOCOL option to XS_PATTERN_VERSION.

The following pattern versions are supported:

PAIR:     v3
PUBSUB:   v1 (legacy), v4
REQREP:   v2
PIPELINE: v3
SURVEY:   v2

Note that all existing pattern versions have been bumped by 1 to allow for
use of legacy protocols (otherwise there would be no way to distinguish
between e.g. PUBSUB v3 and PUBSUB v3 using SP).

Signed-off-by: Martin Lucina &lt;martin@lucina.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements the SP wire protocol, and infrastructure for legacy wire
protocol support.

Also added an XS_SERVICE_ID socket option to set the service id and renamed
the XS_PROTOCOL option to XS_PATTERN_VERSION.

The following pattern versions are supported:

PAIR:     v3
PUBSUB:   v1 (legacy), v4
REQREP:   v2
PIPELINE: v3
SURVEY:   v2

Note that all existing pattern versions have been bumped by 1 to allow for
use of legacy protocols (otherwise there would be no way to distinguish
between e.g. PUBSUB v3 and PUBSUB v3 using SP).

Signed-off-by: Martin Lucina &lt;martin@lucina.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Opening plug-in directory made more robust</title>
<updated>2012-05-18T04:35:24+00:00</updated>
<author>
<name>Martin Sustrik</name>
<email>sustrik@250bpm.com</email>
</author>
<published>2012-05-17T17:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=8c23de9f2abc2ec21d4b74785fd175050909176e'/>
<id>8c23de9f2abc2ec21d4b74785fd175050909176e</id>
<content type='text'>
If plugin directory doesn't exist, is a file or
user has no permissions to access it, the plugins
are not loaded.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If plugin directory doesn't exist, is a file or
user has no permissions to access it, the plugins
are not loaded.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not crash when multiple peers connect to PAIR socket</title>
<updated>2012-05-15T10:51:54+00:00</updated>
<author>
<name>Martin Hurton</name>
<email>hurtonm@gmail.com</email>
</author>
<published>2012-05-15T10:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=adbd29bfa16ae4d58c767d4b03e28841c7cd7fc5'/>
<id>adbd29bfa16ae4d58c767d4b03e28841c7cd7fc5</id>
<content type='text'>
    When more then one peer connected to a PAIR socket,
    an application aborted due to assertion failure.
    This patch changes the PAIR socket behaviour so that
    it rejects any further connection requests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    When more then one peer connected to a PAIR socket,
    an application aborted due to assertion failure.
    This patch changes the PAIR socket behaviour so that
    it rejects any further connection requests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move inclusion of select() and poll() headers to a single place</title>
<updated>2012-05-13T16:12:24+00:00</updated>
<author>
<name>Gabriele Svelto</name>
<email>gabriele.svelto@gmail.com</email>
</author>
<published>2012-05-08T17:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=a03730632e73d7809b352eb43007036f11deb746'/>
<id>a03730632e73d7809b352eb43007036f11deb746</id>
<content type='text'>
Signed-off-by: Gabriele Svelto &lt;gabriele.svelto@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gabriele Svelto &lt;gabriele.svelto@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Enabled plug-in loading on all hosts with support for dlopen()</title>
<updated>2012-05-12T10:13:19+00:00</updated>
<author>
<name>Gabriele Svelto</name>
<email>gabriele.svelto@gmail.com</email>
</author>
<published>2012-05-08T18:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=e1dff473a625cdbecbaddb89d48fc675efea09f0'/>
<id>e1dff473a625cdbecbaddb89d48fc675efea09f0</id>
<content type='text'>
Previously the code used for loading plug-ins would be built only on
Linux hosts. Now the required functions are checked for and plug-in
loading code is enabled if those are present on all platforms. Using
lstat() to check for file types also increases portability to hosts that
do not have the dirent.d_type field. If shared libraries support is
disabled plug-ins will also be automatically disabled.

Signed-off-by: Gabriele Svelto &lt;gabriele.svelto@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the code used for loading plug-ins would be built only on
Linux hosts. Now the required functions are checked for and plug-in
loading code is enabled if those are present on all platforms. Using
lstat() to check for file types also increases portability to hosts that
do not have the dirent.d_type field. If shared libraries support is
disabled plug-ins will also be automatically disabled.

Signed-off-by: Gabriele Svelto &lt;gabriele.svelto@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Inheritance on signaler's socket on Windows switched off</title>
<updated>2012-05-12T10:09:27+00:00</updated>
<author>
<name>Martin Sustrik</name>
<email>sustrik@250bpm.com</email>
</author>
<published>2012-05-12T05:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=0b1bfac99a01db54396875ca49987f4117061990'/>
<id>0b1bfac99a01db54396875ca49987f4117061990</id>
<content type='text'>
Accidentally, one of the sockets in Windows signaler_t
was opened usign WSASocket instead of xs::open_socket.
That skipped the standard XS socket initialisation
and caused the socket to be inheritable to the child
processes.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Accidentally, one of the sockets in Windows signaler_t
was opened usign WSASocket instead of xs::open_socket.
That skipped the standard XS socket initialisation
and caused the socket to be inheritable to the child
processes.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix decoder to properly handle large messages</title>
<updated>2012-05-12T09:28:15+00:00</updated>
<author>
<name>Martin Hurton</name>
<email>hurtonm@gmail.com</email>
</author>
<published>2012-05-12T09:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=17e89e90ce48989cd9454a8a3dcf04532fc50237'/>
<id>17e89e90ce48989cd9454a8a3dcf04532fc50237</id>
<content type='text'>
The decoder did not properly decode large messages
on systems where sizeof (size_t) &lt; sizeof (uint64_t).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The decoder did not properly decode large messages
on systems where sizeof (size_t) &lt; sizeof (uint64_t).
</pre>
</div>
</content>
</entry>
<entry>
<title>Command throttling breaking HWM algorithms -- fixed.</title>
<updated>2012-05-11T14:23:06+00:00</updated>
<author>
<name>Martin Sustrik</name>
<email>sustrik@250bpm.com</email>
</author>
<published>2012-05-11T14:23:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=e924381bae58ca828c9691b9d4d772a20a91c717'/>
<id>e924381bae58ca828c9691b9d4d772a20a91c717</id>
<content type='text'>
When HWM was set to small value it may have happened that command
indicating that pipe is ready for writing wasn't processed
because of command throttling.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When HWM was set to small value it may have happened that command
indicating that pipe is ready for writing wasn't processed
because of command throttling.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve command processing efficiency</title>
<updated>2012-05-11T10:01:53+00:00</updated>
<author>
<name>Martin Sustrik</name>
<email>sustrik@250bpm.com</email>
</author>
<published>2012-05-10T04:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=f7f7eb1613b405026410299f6ca6a4e340bf47c8'/>
<id>f7f7eb1613b405026410299f6ca6a4e340bf47c8</id>
<content type='text'>
When processing commands with throttling switched off, RDTSC
instruction was executed, but the result was never used. This
patch eliminates the unneeded instruction.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When processing commands with throttling switched off, RDTSC
instruction was executed, but the result was never used. This
patch eliminates the unneeded instruction.

Signed-off-by: Martin Sustrik &lt;sustrik@250bpm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issue #268</title>
<updated>2012-05-11T10:01:14+00:00</updated>
<author>
<name>Martin Hurton</name>
<email>hurtonm@gmail.com</email>
</author>
<published>2012-05-08T07:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lucina.net/libxs.git/commit/?id=b4e7f84704b0bb8ed8834d307d24a4c5487619de'/>
<id>b4e7f84704b0bb8ed8834d307d24a4c5487619de</id>
<content type='text'>
This patch fixes a bug in the message encoder which was
responsible for computing incorrect message offset.
The bug affected PGM receiver making it unable to
decode inital messages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes a bug in the message encoder which was
responsible for computing incorrect message offset.
The bug affected PGM receiver making it unable to
decode inital messages.
</pre>
</div>
</content>
</entry>
</feed>
