Commit Graph

19 Commits

Author SHA256 Message Date
Yan Gao
59139f7879 - New api function to retrieve client buffer size
- Enforce buffer size limits on the server side
- Filter logs using regex patter on function, format, or filename
- Upstream version cs: b09473fd4a03b4434efd44408f7ae631a855f9cd

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=41
2013-11-25 14:34:35 +00:00
Yan Gao
d88711667b - Add libqb-configure-package-version.patch
* Build: Generate PACKAGE_VERSION according to the basename of the top directory

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=40
2013-11-16 13:20:10 +00:00
Yan Gao
29e2884d1c Accepting request 207059 from home:yan_gao:branches:network:ha-clustering:Factory
Enable source service

OBS-URL: https://build.opensuse.org/request/show/207059
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=37
2013-11-15 15:39:14 +00:00
Yan Gao
41dc6384d1 uildRequires: xz
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=33
2013-11-14 15:55:40 +00:00
Yan Gao
9608d0688f Accepting request 206900 from home:yan_gao:branches:network:ha-clustering:Factory
Use the tarball_version for rpm version: 0.16.0.21 -> 0.16.0.21.b4c3

OBS-URL: https://build.opensuse.org/request/show/206900
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=32
2013-11-14 15:05:25 +00:00
Yan Gao
b37e036a23 Change the version from 0.16.0 to 0.16.0.21
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=30
2013-11-12 03:56:11 +00:00
Yan Gao
570d5b039c - Bump version to 0.16.0
- ipc_socket.c: Detect EOF connection on connection STREAM socket
- ipc_socket.c: Handle the unlikely event of an EAGAIN or EINTR during dgram max size detection
- Fixes sem leak
- Fixes less-than-zero comparision of unsigned int
- Fixes double fd close
- Fixes fd leak
- Fixes use ater free in shm disconnect
- Fixes use after free during ipcs client disconnect
- ipcc: Add abilty to verify dgram kernel buffer size meets max msg value
- Upstream version cs: 75f7ed373758b3cb9087e89e4fae17379dd7b483 (v0.16.0)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=25
2013-07-26 01:59:17 +00:00
Yan Gao
4fce676b4f - ringbuffer: Make max_size of ringbuffer accurate so shm ipc max msg size value is honored
- ipcs: For shm ipc, always retry outstanding notifications when next event is sent
- ipc_socket: In fbsd send() returns ENOBUFS when dgram queue is full, this should be treated similar to EAGAIN
- kqueue: Properly enable kqueue filter in poll loop
- ipcs: Attempt to resend outstanding event notifications during event send
- ipcs: Disconnect shm ipc connection when poll socket returns error on msg receive
- ipcs: Properly disconnect client connection on POLLNVAL or any other error causing connection removal from mainloop.
- Upstream version cs: 39e9ef542dc89893c7c5af4fbd539338266e8031

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=24
2013-07-22 08:19:09 +00:00
Yan Gao
a6daabc3ab Accepting request 181752 from home:coolo:branches:openSUSE:Factory
- disable _service services to be acceptable for factory. To
  update tar, run osc service dr

OBS-URL: https://build.opensuse.org/request/show/181752
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=22
2013-07-02 14:41:55 +00:00
Yan Gao
fae77086c1 - Simplify internal ipcs ref counting, add comments and document api behavior
- Simplifies connection ref counting without changing behavior
- Fix: refcount leak
- Fix: ringbuffer: Add file header version field and detect reading corrupted blackbox files using hash value
- fix a problem when the character string beyond the number of the maximum characters is passed
- Add a IPC service context pointer and accessors from both the connection and service level.
- ringbuffer: use atomic ops on ringbuffer chunk magic
- IPC: make each connection ref the owning service
- Indicate when/why qb_rb_force_close() fails to remove share memory files
- Deal better with corrupt blackbox files.
- Upstream version cs: 7c6e109046ec772a97a7fe2cdf61f84fc2155b7e

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=21
2013-07-02 10:51:11 +00:00
Yan Gao
5af9533c47 - Bump the version to 0.14.4
- LOG: prevent the last char of the blackbox message from getting lost.
- Add the processing which remove notifier at skiplist_destroy function
- Add the processing which remove hash node and notifier at hashtable_destroy function
- Upstream version cs: 848242a7860c5a7e19240c2ded053fa9908af9e0

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=17
2013-01-18 05:16:53 +00:00
Yan Gao
0181d312de Bump version number to 0.14.3
Update description

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=15
2012-11-20 04:54:44 +00:00
Tim Serong
c6257944a2 Rejig spec so the main package doesn't have the SONAME
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=10
2012-06-08 13:22:31 +00:00
Tim Serong
1f0c3d61da Rename spec to match package name
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=8
2012-06-08 13:07:29 +00:00
Tim Serong
89eedddb57 Conditional make check, use %{buildroot} not $RPM_BUILD_ROOT
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=7
2012-06-08 12:30:33 +00:00
Tim Serong
eccb5a73c5 Include git metadata in tarball, use git to extract version
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=6
2012-06-08 12:05:31 +00:00
Tim Serong
35c14797d6 Fix specfile format
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=5
2012-06-08 10:59:30 +00:00
Tim Serong
25d70694a0 Fix BuildRoot and Summary
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=2
2012-06-08 10:25:24 +00:00
Tim Serong
f835fe356b - Initial SUSE packaging of libqb from upstream changeset
e70e7908f01ee17e9e8454602a5cfabe19ccc439

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=1
2012-06-08 09:16:14 +00:00