Asim Aslam
b4874806df
Add util
2019-05-30 23:52:10 +01:00
Asim Aslam
f5d37d92af
set nextprotos
2019-05-24 17:05:31 +01:00
0a8f9b0a62
fix race in http transport
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-02-15 17:20:00 +03:00
Asim Aslam
7888d3e13d
use official h2c server
2019-01-31 17:14:36 +00:00
Asim Aslam
b1a31134bd
Support micro proxy
2019-01-30 18:42:11 +00:00
Asim Aslam
e1bc240a14
Respond with error type
2019-01-13 12:15:35 +00:00
Asim Aslam
ce36d0156d
Merge pull request #362 from micro/codec
...
Make json/protobuf/grpc codecs
2019-01-02 18:01:34 +00:00
Asim Aslam
2761b8e0f5
Add support for http proxy
2019-01-02 15:24:17 +00:00
Asim Aslam
ed580204a8
Add grpc codec
2019-01-02 12:55:06 +00:00
Asim Aslam
7cf94162b8
remove fmt comment
2019-01-02 12:50:25 +00:00
Asim Aslam
f1984650f4
use the request header
2018-11-22 10:39:36 +00:00
Asim Aslam
1d8047a272
add option to set http handlers
2018-11-18 16:32:53 +00:00
Asim Aslam
71bacf6991
add local/remote ip to socket
2018-11-14 19:41:13 +00:00
Asim Aslam
54f67db275
Merge pull request #289 from micro/http2
...
http2 support
2018-11-03 12:07:23 +00:00
Asim Aslam
9968c7d007
Add Init to all things, use init in cmd package to initialise
2018-08-08 18:57:29 +01:00
Asim Aslam
eebaa64d8c
phase 1
2018-07-29 10:55:46 +01:00
Asim Aslam
e55437698b
misc moved to util
2018-04-08 12:37:45 +01:00
Asim Aslam
a7312f5c7e
log panics
2017-05-16 19:14:00 +01:00
Asim Aslam
bab586b71e
make use of micro/go-log
2017-05-11 20:43:42 +01:00
Asim Aslam
66ef6b67ca
add support for port range in http broker
2017-01-12 14:11:25 +00:00
Asim Aslam
a47d916b50
move ip func
2017-01-12 13:52:49 +00:00
Asim
1b1fb71e44
move function
2016-10-29 21:34:15 +01:00
Asim
6d35a663a4
Don't create new message
2016-10-29 21:33:04 +01:00
Asim
66c38b75aa
Name timeout rather than deadline
2016-08-01 16:31:27 +01:00
Asim
e7903c65ce
use deadline within http transport
2016-07-28 19:12:56 +01:00
Asim
69aa8537d3
Add some comments
2016-06-06 14:05:02 +01:00
Zeal
d8ecd42868
rename getIPAddrList() to getIPAddrs and improve code format
2016-06-06 20:56:53 +08:00
Zeal
eb0422cee1
improve self-signed host list
2016-06-05 23:13:29 +08:00
Asim
07687b9595
Since we send 200 response from the Listener, we should expect 200 response from the Client
2016-05-06 15:44:32 +01:00
Asim
bfe20d81d0
More linting fun
2016-04-06 18:03:27 +01:00
Jelmer Snoeck
af0028d821
HTTPTransport: implement queue for listener.
...
Before this patch, when an error occurs in trying to accept a connection
from the listener, the error would be returned. This also happened on
temporary issues like `too many open files`.
Temporary issues are "self-healing" and will resolve over time. This
means that we can put the requests in a queue to wait until the issue is
resolved and start processing the connections once it is resolved.
This patch implements such mechanism, as copied from the standard
library http package. It will retry temporary errors but will return
permanent errors (or errors that are not from the net.Error type).
2016-04-01 13:10:18 +01:00
Asim
5a6ff655db
Transport init
2016-03-15 22:25:32 +00:00
Asim
4ef44db161
Internally handle port range
2016-03-02 14:20:28 +00:00
Asim
a1c22ce78a
Add transport tls
2016-01-18 00:10:04 +00:00
Asim
d43d3e8efa
Add transport dial timeout
2016-01-03 21:25:03 +00:00
Asim
191e835aa9
Add extra options to be used by others that need them
2015-12-31 18:14:40 +00:00
Asim
64b45f7846
Update options to be public. This means people can implement the interfaces and actually use the options
2015-12-31 18:11:46 +00:00
Asim
be43d827c7
Add String method to all interfaces
2015-12-19 21:56:14 +00:00
Asim
3b295b16e7
Working bidirectional streaming example
2015-12-18 20:28:50 +00:00
Asim
5488904404
Fix a data race issue with the buffer
2015-11-28 16:34:27 +00:00
Asim
04e07f4b39
Move plugins to go-plugins
2015-11-25 00:17:15 +00:00
Asim
469b12ecea
Temporary stop gap for panicking server handlers
2015-11-24 00:52:59 +00:00
Asim
5e598d8ef0
Fix leaking go routine issue
2015-10-22 15:14:56 +01:00
Asim
9697dc503c
Reset the buffer on close
2015-10-22 14:21:57 +01:00
Asim
b91af916f9
Add pub/sub to client/server and make broker more low level
2015-06-12 19:52:27 +01:00
Asim
8cdc2b5f82
Not a todo
2015-06-01 18:55:53 +01:00
Asim
09c784d294
add support for streaming requests. cleanup watcher initilisation
2015-06-01 18:55:27 +01:00
Asim
74fd1fc989
Restructure go-micro layout and plugins
2015-05-23 20:04:16 +01:00
Asim
3db51216b2
Rework use of context
2015-05-23 11:53:40 +01:00
Asim
c9df1cf7d2
use send/recv semantics
2015-05-21 21:08:19 +01:00