Evgeny Poberezkin
d54d52b9bb
readme corrections
2020-10-18 21:31:51 +01:00
Evgeny Poberezkin
295b14e2e5
docs: readme, system design
2020-10-18 21:28:37 +01:00
Evgeny Poberezkin
efe799f460
LF -> CRLF
2020-10-18 12:50:14 +01:00
Evgeny Poberezkin
284289e4ae
send CRLF, allow CRLF in input
2020-10-18 12:47:12 +01:00
Evgeny Poberezkin
b3c6842843
refactor: replace singletons package with ad-hoc singletons pattern
2020-10-18 11:19:30 +01:00
Evgeny Poberezkin
acef2bf638
tests: deleting undelivered messages, re-delivery when message not ACKed
2020-10-18 10:15:30 +01:00
Evgeny Poberezkin
f8aa11f419
corrections
2020-10-17 21:58:03 +01:00
Evgeny Poberezkin
adc8af16b3
add subscription END notification, corrections
2020-10-17 21:09:49 +01:00
Evgeny Poberezkin
3012d4586f
test: switching subscription to another TCP connection
2020-10-17 20:10:40 +01:00
Evgeny Poberezkin
0dec506ce6
test: duplex communication over 2 SMP connections
2020-10-17 19:42:15 +01:00
Evgeny Poberezkin
eba6dfc343
make sizes of IDs a server configuration
2020-10-17 18:13:20 +01:00
Evgeny Poberezkin
98a85ddf5d
load 3 lines before parsing
2020-10-17 17:29:23 +01:00
Evgeny Poberezkin
3255682bf2
use base64 encoded IDs and bytestrings instead of strings
2020-10-17 15:01:25 +01:00
Evgeny Poberezkin
5a0402d0c4
random connection and message IDs
2020-10-17 11:07:09 +01:00
Evgeny Poberezkin
ee40927506
random connection and message IDs
2020-10-17 11:03:38 +01:00
Evgeny Poberezkin
37eb4e7b71
remove connection ID from IDS response
2020-10-17 08:05:22 +01:00
Evgeny Poberezkin
9efcde6f57
fix: killing subscriber when smp connection is SUBd in another tcp connection
2020-10-16 22:29:21 +01:00
Evgeny Poberezkin
6d12adad94
refactor server and store
2020-10-16 21:33:17 +01:00
Evgeny Poberezkin
366e208ae0
server thread to track client smp connection subscriptions and notify clients when they should unsubscribe
2020-10-16 18:38:01 +01:00
Evgeny Poberezkin
bd0f767282
message delivery
2020-10-16 13:24:26 +01:00
Evgeny Poberezkin
f3658abfbe
rename command HOLD to OFF
2020-10-15 21:32:15 +01:00
Evgeny Poberezkin
6ead1fb99c
separate send thread
2020-10-15 20:50:16 +01:00
Evgeny Poberezkin
fc2e51053a
change command names and errors
2020-10-15 15:47:47 +01:00
Evgeny Poberezkin
693d9c529d
change command names
2020-10-15 15:47:18 +01:00
Evgeny Poberezkin
c6b96a9cb2
replace ERROR SYNTAX 7 with ERROR SIZE for bad message body size
2020-10-15 14:30:42 +01:00
Evgeny Poberezkin
bedefb11b3
SUSPEND and DELETE connection
2020-10-15 11:55:10 +01:00
Evgeny Poberezkin
9f433285df
hunit for assertions
2020-10-15 08:37:36 +01:00
Evgeny Poberezkin
7cb289e88a
refactor: TCP transport
2020-10-15 07:08:21 +01:00
Evgeny Poberezkin
a58ce378db
refactor: use guards
2020-10-14 21:30:21 +01:00
Evgeny Poberezkin
b1f41d10da
use assert in tests
2020-10-14 21:16:28 +01:00
Evgeny Poberezkin
2ba27ed852
SECURE command, tests
2020-10-14 21:03:37 +01:00
Evgeny Poberezkin
c7e194d3c7
replace TChan with TBQueue
2020-10-14 14:37:29 +01:00
Evgeny Poberezkin
fbf17d3484
verify SEND command, refactor
2020-10-14 14:09:09 +01:00
Evgeny Poberezkin
989e0c7261
add error types
2020-10-14 11:37:45 +01:00
Evgeny Poberezkin
3ca687c179
refactor: separate transmission syntax verification from signature verification
2020-10-14 10:39:24 +01:00
Evgeny Poberezkin
3ec0ff9d90
update package.yaml
2020-10-13 18:55:07 +01:00
Evgeny Poberezkin
a58089a4f4
update license
2020-10-13 18:48:41 +01:00
Evgeny Poberezkin
1daae74c67
syntax tests for all commands
2020-10-13 18:44:40 +01:00
Evgeny Poberezkin
00f61c1f68
protocol syntax tests
2020-10-13 18:17:41 +01:00
Evgeny Poberezkin
e75a3c44df
test client (WIP)
2020-10-13 12:43:44 +01:00
Evgeny Poberezkin
bd39cf4cb0
create connection stub, verify signature stub
2020-10-13 11:35:41 +01:00
Evgeny Poberezkin
3f72f19b68
more syntax validation, read full SEND msgBody
2020-10-12 21:48:35 +01:00
Evgeny Poberezkin
f08c4679cc
add ReaderT, unliftio
2020-10-12 18:57:14 +01:00
Evgeny Poberezkin
b11dc92bc6
echo protocol commands
2020-10-12 13:21:40 +01:00
Evgeny Poberezkin
2e51e4eab7
initial
2020-10-11 11:00:25 +01:00
Evgeny Poberezkin
dc223f564d
update syntax
2020-10-10 22:16:36 +01:00
Evgeny Poberezkin
ea77a4653f
unify and simplify SMP ( #38 )
...
* unify and simplify SMP
* use cameCase in ABNFs
* update diagrams
* update ABNF RFC
* update protocol syntax
* table of contents
2020-10-10 21:47:17 +01:00
Evgeny Poberezkin
b80fd37a0f
Remove connection ID and alternative flow ( #22 )
...
* docs: remove connection ID from simplex-messaging.md, #8
* docs: remove alternative flow in simplex-messaging, #20
* docs: update simplex diagrams to remove connection ID
* docs: remove connection ID from graph-chat
* docs: update duplex connection diagram to remove connection ID, closes #8
2020-01-26 21:34:14 +00:00
Efim Poberezkin
9d9afb1150
Rename edge-messaging to simplex messaging ( #15 )
...
* rename edge-messaging protocol related files
* rename edge-messaging protocol to simplex messaging protocol
* adjust wordings for simplex connections
2020-01-25 13:19:34 +04:00
Evgeny Poberezkin
12e9fbf75a
Connection URIs ( #11 )
...
* simplex connection: why RU and SU should be different, closes #5
* remove api allowing connection URIs change
2020-01-22 19:09:07 +04:00