Commit Graph

16 Commits (d491dfdb2deeb140d0d16cfa35362d8cab3c2ef4)

Author SHA1 Message Date
OpenGnSys Support Team b38ed0dfb8 #897 Do not use socket type in ogAdmServer
No need for an extra type, socket descriptors are always integer.
2019-02-06 14:49:04 +01:00
OpenGnSys Support Team b56cbeb737 #883 replace standalone log file by syslog 2019-01-17 13:18:51 +01:00
OpenGnSys Support Team f09aca620c #580 fix management of keepalive connections to clients
OgAdmServer leaves a connection in keepalive more (similar to HTTP
keepalive feature), the existing handling is not correct. The tbsocket
table is never cleaned up and properly.

Use the new og_client object that represents connections from the
clients in tbsocket[] instead.

The keepalive field now stores the index in the tbsocket table, so there
is no need to consult mysql to fetch the slot that this client is using.

This patch also extends syslog() support to include port number when
reporting connections from clients.
2019-01-17 13:18:40 +01:00
OpenGnSys Support Team 212280e1bc #580 rework server socket handling
Modern server side using libev library, includes timeouts for clients.

After this patch, your system requires the libev-dev and libev4 packages
to compile ogAdmServer.
2019-01-17 13:18:32 +01:00
OpenGnSys Support Team 59fb4d5ce2 #580 constify parameter and statify function
Remove unnecessary function declaration in header files
2019-01-17 13:18:14 +01:00
OpenGnSys Support Team 2427e9d8fe #580 move global variable definitions to file
Save us from unnecessary initialization given this is in the .bss area.
2019-01-17 13:18:06 +01:00
OpenGnSys Support Team f74067ffdc #580 use bool from stdbool.h instead of BOOLEAN
C99 includes boolean definition in stdbool.h, use them.
2019-01-17 13:18:02 +01:00
OpenGnSys Support Team 07d2b73a13 #580 disregard SOCKET type, use int instead
Socket file descriptors are always an integer, no need for typedef.
2019-01-17 13:18:00 +01:00
OpenGnSys Support Team 8e0216a2ca #580: No need for runtime initialization of handlers.
Removes 70 LoCs.
2019-01-17 13:17:41 +01:00
Irina Gomez 8712fd91b0 #738 #713 Inventario de software: se muestra sistema operativo y se guarda en el perfil de software
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4901 a21b9725-9963-47de-94b9-378ad31fedc9
2016-04-26 07:41:46 +00:00
ramon 47890b7592 #677: Cambios en {{{ogAdmClient}}} y {{{ogAdmServer}}} para registrar los nuevos datos de creación de imagen (PC modelo, disco, partición y fecha).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4431 a21b9725-9963-47de-94b9-378ad31fedc9
2014-11-06 13:02:10 +00:00
ramon 9e3287ea8e #677: Actualizar BD y mostrar fecha de despliegue de una imagen. Corregir errata para registrar la imagen desplegada indicando nº de disco y de partición.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4426 a21b9725-9963-47de-94b9-378ad31fedc9
2014-11-05 07:16:44 +00:00
ramon 0cee7a68a4 Versión 1.0.5, #565: Integrar código del ticket:565 en rama de desarrollo.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3446 a21b9725-9963-47de-94b9-378ad31fedc9
2012-11-28 11:38:50 +00:00
ramon eb99080b51 Versión 1.0.5, #565 @567: Integrar código del ticket:567 para corregir ejecución duplicada de comandos, incluyendo código del ogAdmServer con soporte para el ticket:565 (imágenes incrementales).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3407 a21b9725-9963-47de-94b9-378ad31fedc9
2012-11-13 12:06:54 +00:00
ramon 6fc28cdc46 #501: Integrar ticket en rama de desarrollo.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2931 a21b9725-9963-47de-94b9-378ad31fedc9
2012-04-10 07:55:24 +00:00
alonso b9eb98b963 git-svn-id: https://opengnsys.es/svn/trunk@1314 a21b9725-9963-47de-94b9-378ad31fedc9 2010-10-23 09:34:04 +00:00