summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-10-02 20:23:14 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:16 +0900
commite74cac57e412bcd71f2cc58ba46d326aef0996c4 (patch)
tree3ef14985f93e18bbb642aa537562e648ba01e77b /src/lib/evas/cserve2/evas_cs2.h
parent3889feca24ad3dba2aead16261a6b8dde0687b57 (diff)
evas/cserve2: Reconnect to cserve2 in case of server crash
Try to reconnect to cserve2 if the socket connection was lost. Resend some messages if necessary. Images reload seems to be working. Actually, the images don't change over time, so the clients just keep the previous references to their images. FONT RELOAD IS NOT WORKING: - Crashes - Invalid glyph data - Infinite loop in _glyph_map_remap_check() Root cause: When new glyphs are requested from the server, they are added to the mempool. So it is necessary to remap the font. Unfortunately, in case of server reboot, we did not keep the mempool so the old glyphs that were not requested again will not be valid.
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2.h')
-rw-r--r--src/lib/evas/cserve2/evas_cs2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2.h b/src/lib/evas/cserve2/evas_cs2.h
index 7dcd441e99..35a0a3177f 100644
--- a/src/lib/evas/cserve2/evas_cs2.h
+++ b/src/lib/evas/cserve2/evas_cs2.h
@@ -39,6 +39,7 @@ typedef enum {
39 CSERVE2_LOADER_DIED, 39 CSERVE2_LOADER_DIED,
40 CSERVE2_LOADER_EXEC_ERR, 40 CSERVE2_LOADER_EXEC_ERR,
41 CSERVE2_INVALID_CACHE, // invalid cserve cache entry 41 CSERVE2_INVALID_CACHE, // invalid cserve cache entry
42 CSERVE2_NOT_LOADED,
42 CSERVE2_FILE_CHANGED, 43 CSERVE2_FILE_CHANGED,
43 CSERVE2_REQUEST_CANCEL 44 CSERVE2_REQUEST_CANCEL
44} Error_Type; 45} Error_Type;