Matej Ferencevic
f1a8d7cd3d
Refactor network layer to use streams
...
Summary:
The network layer now has a `Session` that handles all things that should be
done before the `Execute` method is called on sessions. Also, all sessions
now communicate using streams instead of holding the input buffer and writing
to the `Socket`. This design will allow implementation of a SSL middleware.
Reviewers: buda, dgleich
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D1314
2018-03-27 15:05:45 +02:00
Matej Ferencevic
f848394e5d
Fixed bolt chunked encoder buffer for big data.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D756
2017-09-06 15:36:24 +02:00
Matej Ferencevic
8cf69738bf
Fixed bolt decoder chunked buffer implementation.
...
Summary:
Bolt client now uses new chunked decoder.
Fixed bolt session to use new chunked decoder.
Fixed chunked decoder buffer test.
Fixed bolt session test.
Removed debug message from client.
Fixed bolt encoder to comply with specification.
Reviewers: buda, mislav.bradac
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D751
2017-09-06 13:19:42 +02:00
Dominik Gleich
e2f3aba332
Use GLogger instead of broken memgraph Logger.
...
Summary:
http://rpg.ifi.uzh.ch/docs/glog.html
Second phase before tests complete.
Delete logging test.
Finish relase loging.
Reviewers: mislav.bradac, teon.banek, buda
Reviewed By: teon.banek
Subscribers: buda, pullbot
Differential Revision: https://phabricator.memgraph.io/D500
2017-06-21 15:33:24 +02:00
Matej Ferencevic
e5c814e022
First version of new bolt decoder and tests.
...
Summary:
Extracted constants to codes.hpp.
Extracted bolt constants.
Extracted StreamBuffer and fixed data type.
Extracted bolt testdata.
Added bolt buffer and tests.
Added bolt decoder buffer and tests.
Renamed bolt testdata.
Reviewers: dgleich, buda, matej.gradicek
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D220
2017-04-06 14:30:19 +02:00