summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_private.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_private.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 '')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_private.h b/src/lib/evas/cserve2/evas_cs2_private.h
index c0ed575f81..39cc829ca9 100644
--- a/src/lib/evas/cserve2/evas_cs2_private.h
+++ b/src/lib/evas/cserve2/evas_cs2_private.h
@@ -17,7 +17,6 @@ struct _Data_Entry
17 unsigned int hit_count; 17 unsigned int hit_count;
18 void (*preloaded_cb)(void *, Eina_Bool); 18 void (*preloaded_cb)(void *, Eina_Bool);
19 struct { 19 struct {
20 const char *path;
21 int mmap_offset; 20 int mmap_offset;
22 int use_offset; 21 int use_offset;
23 int mmap_size; 22 int mmap_size;