broadway: Break out websockets parsing and message processing

We need this to be able to correctly handle the recieve buffer
during message processing. Without the split we would be
recursing over the use of it.
This commit is contained in:
Alexander Larsson
2011-03-11 14:41:03 +01:00
parent 7c12e5f27e
commit e08396450d
2 changed files with 46 additions and 22 deletions

View File

@ -83,6 +83,7 @@ struct _GdkBroadwayDisplay
BroadwayOutput *output;
guint32 saved_serial;
BroadwayInput *input;
GList *input_messages;
};
struct _GdkBroadwayDisplayClass