Commit Graph

167 Commits

Author SHA1 Message Date
Jeff Willette a641f103f3 moved to docker folder
- modified docker command and added comments
2018-01-12 19:13:44 +09:00
Jeff Willette 1b6cafa04a Merge branch 'master' into dockerfile 2018-01-12 12:31:56 +09:00
Feng Li 3e4d6046e2
Merge pull request #125 from fengli79/master
Supports SSL/TLS gRPC backend.
2018-01-05 20:38:31 -08:00
Feng Li 4ad036a974 Supports SSL/TLS gRPC backend.
Addes following configs:
  grpc_ssl <on|off>;
  grpc_ssl_target_name_override <target name>;
  grpc_ssl_pem_root_certs <root certs pem file path>;
  grpc_ssl_pem_private_key <private key pem file path>;
  grpc_ssl_pem_cert_chain <cert chain pem file path>;
2018-01-05 18:48:53 -08:00
Feng Li 286990203f
Merge pull request #123 from fengli79/master
When gRPC backend is not reachable, a gRPC call may gets back before any trailer gets initialized. Adds a nullptr check to avoid segfault.
2017-12-22 13:48:50 -08:00
Feng Li 0b17363ce0 When gRPC backend is not reachable, a gRPC call may gets back before any
trailer gets initialized. Adds a nullptr check to avoid segfault.
2017-12-22 10:05:02 -08:00
Stanley Cheung 34b57a4d85
Merge pull request #122 from stanley-cheung/master
Grpc Updates
2017-12-14 23:07:06 -08:00
Stanley Cheung 6d1f80a653 Update grpc commit hash 2017-12-14 23:06:27 -08:00
Stanley Cheung 8aa8ce9039 grpc update 2017-12-14 22:29:38 -08:00
Stanley Cheung b1b345a5c6
Merge pull request #121 from stanley-cheung/master
Implement the grpc-web protocol
2017-12-14 12:34:32 -08:00
Stanley Cheung 98a74dfa92 Switch the example to use the new application/grpc-web-text format 2017-12-14 01:12:00 -08:00
Stanley Cheung d3a360d454 minor fix 2017-12-14 00:33:25 -08:00
Stanley Cheung c1f4cdb2dc Added a new client mode for the application/grpc-web-text format 2017-12-13 23:05:45 -08:00
Stanley Cheung 46eec25e37
Merge pull request #120 from stanley-cheung/master
Fix client build
2017-12-05 17:48:03 -08:00
Stanley Cheung 12d8077d82 Fix client build 2017-12-05 17:46:44 -08:00
Stanley Cheung 3d88f1872f
Merge pull request #119 from stanley-cheung/master
Update third_party dependency hashes
2017-12-05 17:45:08 -08:00
Stanley Cheung 4c1036a1d3 Update third_party dependency hashes 2017-12-05 17:44:01 -08:00
Stanley Cheung fab1ea680a
Merge pull request #118 from stanley-cheung/master
Minor fix to html
2017-12-04 22:28:48 -08:00
Stanley Cheung 7d35fe76c5 Minor fix to html 2017-12-04 22:28:20 -08:00
Stanley Cheung a62f5f0c5f
Merge pull request #117 from stanley-cheung/master
Ran MdLint
2017-12-04 21:58:07 -08:00
Stanley Cheung 1daf610339 Ran MdLint 2017-12-04 21:57:41 -08:00
Stanley Cheung e36a4980d3
Merge pull request #116 from stanley-cheung/master
No more extern "C" for gRPC Core
2017-12-04 21:45:33 -08:00
Stanley Cheung 9b6b32ffe5 No more extern "C" for gRPC Core 2017-12-04 21:45:01 -08:00
Stanley Cheung a85efc2212
Merge pull request #115 from stanley-cheung/master
Fixed segfault when calling grpc_error_get_status
2017-12-04 21:42:39 -08:00
Stanley Cheung 5579bc86cf Fixed segfault when calling grpc_error_get_status 2017-12-04 21:42:08 -08:00
Stanley Cheung 19e37d1794
Merge pull request #114 from stanley-cheung/master
Expose stream end event to client
2017-12-04 21:39:37 -08:00
Stanley Cheung f9f06ef13a Expose stream end event to client 2017-12-04 21:38:52 -08:00
Stanley Cheung 4930d3a3f7
Merge pull request #112 from stanley-cheung/master
Minor update to client
2017-11-21 16:51:11 -08:00
Stanley Cheung bcc89b8856 Minor update to client 2017-11-21 16:49:43 -08:00
Feng Li 6abade580b
Merge pull request #111 from fengli79/master
Supports base64 encoded gRPC-Web with content-type: application/grpc-web-text and content-type: application/grpc-web-text+proto.
2017-11-21 15:18:06 -08:00
Feng Li 6e5d2dcef3 Supports base64 encoded gRPC-Web with content-type: application/grpc-web-text and content-type: application/grpc-web-text+proto. 2017-11-21 14:55:48 -08:00
Feng Li ce71327260
Merge pull request #110 from fengli79/master
Fix memory leaks in proto/streambody decoder.
2017-11-13 14:18:08 -08:00
Feng Li 24ff395bb4 Change gRPC-Web make file to add the protobuf include directory. 2017-11-13 14:16:04 -08:00
Feng Li e64c2779be Remove the client liveness detect timer when the downstream request/connection has been finalized.
Fix memory leaks in proto/stream body decoder.
Support clean shutdown for grpc lib and protobuf lib.
2017-11-13 13:26:44 -08:00
Feng Li 616925f790
Merge pull request #109 from fengli79/master
Finalize the downstream HTTP request when client close the connection.
2017-11-09 17:21:25 -08:00
Feng Li 7ca17868e6 Finalize the downstream HTTP request when client close the connection.
Disable the client liveness detection by default.
2017-11-09 17:19:01 -08:00
Jeff Willette 6d9734b3da Added dockerfile
- dockerfile builds the echo example
- example commands to run the container are in the dockerfile
2017-11-04 21:07:41 +09:00
Wenbo Zhu 50e550d459
Update README.md 2017-10-27 16:07:30 -07:00
Feng Li 3298898a87 Merge pull request #106 from fengli79/master
Make the grpc event processing thread joinable.
2017-10-11 11:12:50 -07:00
Feng Li 4c45c6c043 Make the grpc event procssing thread joinable. 2017-10-11 11:04:41 -07:00
Stanley Cheung c16c01f639 Merge pull request #104 from stanley-cheung/master
Add genericpbjsclient
2017-08-17 23:50:10 -07:00
Stanley Cheung 6ba2b8bc10 Add genericpbjsclient 2017-08-17 23:48:40 -07:00
Feng Li 90a6cd19f5 Merge pull request #103 from stanley-cheung/master
Update after some linter changes
2017-08-16 15:19:35 -07:00
Stanley Cheung 2c724f83e8 Update after some linter changes 2017-08-16 15:16:37 -07:00
Wenbo Zhu 5c86528709 Update README.md 2017-08-02 14:19:25 -07:00
Wenbo Zhu abdf69cddc Update README.md 2017-08-02 14:17:01 -07:00
Wenbo Zhu d077bbb2d5 Update README.md 2017-08-02 14:14:46 -07:00
Wenbo Zhu 89a706fd60 Update README.md 2017-08-02 14:13:58 -07:00
Feng Li 02924b8517 Merge pull request #102 from fengli79/master
Always invoke ngx_handle_write_event() after ngx_http_output_filter().
2017-07-12 12:32:59 -07:00
Feng Li 8b88ff2f84 Always invoke ngx_handle_write_event() after ngx_http_output_filter(),
in spite of its return value. This is required to support select/poll
besides epoll.
Also close the downstream connection when ngx_handle_write_event()
failing.
2017-07-12 11:45:41 -07:00