Maciej Szlosarczyk
cde2a7ed55
Handle case when registry is not reacheable
2019-06-07 15:38:11 +03:00
Maciej Szlosarczyk
86af6b8f57
Expect user to close connection abruptly
...
When waiting for input from socket, expect not only a valid outcome,
but also the client getting bored and closing the connection without
any message being sent.Log an info message when that happens,but do
not make it an error.
Also, only use hyphens for headers sent to registry server.
2019-06-07 15:06:53 +03:00
Maciej Szlosarczyk
a4b7a4a041
Send headers in both formats
2019-06-06 17:16:46 +03:00
Maciej Szlosarczyk
1593ecf2f2
Use the correct syslog dependency
2019-06-03 16:33:42 +03:00
Maciej Szlosarczyk
d5c296af94
Add extended release script
2019-06-03 12:00:53 +03:00
Maciej Szlosarczyk
8a64f88586
Update TCP connection to use the same structure as TLS
2019-05-30 14:04:34 +03:00
Maciej Szlosarczyk
cecf6c0af0
Remove macros from TLS acceptor
...
Add required documentation to it.
2019-05-30 13:35:51 +03:00
Maciej Szlosarczyk
6b4814a60d
Make routes not care about trailing slashes
2019-05-30 12:22:42 +03:00
Maciej Szlosarczyk
4566e14b31
Document EPP TLS worker
2019-05-30 11:43:59 +03:00
Maciej Szlosarczyk
4b5c90912d
Add tests for HTTP client
2019-05-30 11:43:44 +03:00
Maciej Szlosarczyk
0ccb48ce91
Move http request into its own module
2019-05-30 11:06:46 +03:00
Maciej Szlosarczyk
54a6fdb729
Handle XML parsing errors
2019-05-30 10:35:54 +03:00
Maciej Szlosarczyk
73384531c8
Replace logger with lager for syslog logging
...
I am not 100% certain that lager_syslog is well maintained, but it
seems to be used by RabbitMQ at the time of writing this commit.
c5568a9ed4/erlang.mk (L2405-L2411)
Because of that, we probably should be fine with it.
2019-05-29 13:23:29 +03:00
Maciej Szlosarczyk
750cdbd270
Add X-Forwarded-For header
2019-05-29 10:57:43 +03:00
Maciej Szlosarczyk
ffc5ddaa3c
Add certificate revocation file handling
2019-05-29 09:49:20 +03:00
Maciej Szlosarczyk
1995b6263b
Add feature switch for enabling pure TCP socket
2019-05-28 11:30:01 +03:00
Maciej Szlosarczyk
c74bacfee3
Move epp_record into a header file
2019-05-28 11:05:51 +03:00
Maciej Szlosarczyk
6ef2b881f8
Merge two functions into one
2019-05-28 10:11:44 +03:00
Maciej Szlosarczyk
816c7d812b
SSL is started via app.src, no need for starting in explicitly
2019-05-28 10:01:36 +03:00
Maciej Szlosarczyk
657f064e35
Use standard erlang folder structure
2019-05-28 09:58:11 +03:00
Maciej Szlosarczyk
0c8cbaefc7
Move session_id function to util module
2019-05-28 09:44:09 +03:00
Maciej Szlosarczyk
e7aa9b9770
But a proper executable
2019-05-27 19:48:41 +03:00
Maciej Szlosarczyk
dce19a1107
Short config variables
2019-05-27 16:44:45 +03:00
Maciej Szlosarczyk
c2c91667e7
Working base loop
2019-05-27 16:29:02 +03:00
Maciej Szlosarczyk
7e6273091b
Move router to epp_router
2019-05-27 11:08:18 +03:00
Maciej Szlosarczyk
eac669cbd3
Rename modules to avoid any future collisions
2019-05-27 10:41:03 +03:00
Maciej Szlosarczyk
d1fa980f11
Create OTP structure for TCP side of the module
2019-05-27 10:34:29 +03:00
Maciej Szlosarczyk
ab5bf9de38
Rename functions
2019-05-27 09:25:23 +03:00
Maciej Szlosarczyk
eed763844a
Add certs test
2019-05-24 14:18:46 +03:00
Maciej Szlosarczyk
23487ab663
Add propEr to test dependencies
2019-05-23 15:26:17 +03:00
Maciej Szlosarczyk
7116f9427c
Add epp_util module
2019-05-23 14:57:26 +03:00
Maciej Szlosarczyk
cd21f70da5
Add router
2019-05-22 17:15:41 +03:00
Maciej Szlosarczyk
e87ac6cf2e
Initial commit
2019-05-22 10:57:05 +03:00