This can be simply used that way:
docker run -p 8182:8181 grpc/scan-build
This will grab grpc's latest github code, compile it through clang's scan-build tool (http://clang-analyzer.llvm.org/scan-build.html) and output the result on stdout. This will also start an HTTP server on port 8182 on your machine, displaying the report nicely.
As a nice side-effect, this will also produce scan reports for openssl and protobuf.
The server can be then stopped this way:
docker ps -l # figure out the container-id
docker kill container-id
Previously we missed the fact that we have to increment reference
count when passing grpc_mdstr to grpc_mdelem_from_metadata_strings,
which leads to crash. This commit fixes this issue.
- simplify the test suite namespace
- fix bug in test suite setup where wrappper tests were run twice
- removes unnecessary descs
- add bunder's gem tasks for release and installation
Usage example: protoc ... --grpc_out=services_namespace=xyz:./path/to/output/dir ...
This is difficult to add a test for this without significantly changing all of the examples, or the build system. However this has been successfully tested locally.
-) Introduce a wait-loop with a 100ms delay on iomgr shutdown, so that background threads have the chance to place last minute callbacks without having to stall for the whole 10 seconds deadline.
-) io completion ports will get notifications on socket shutdowns, so we need to delay their deletions for after we get a notification for them.
-) we need to keep some sense of how many orphan sockets are in, so we can properly collect them - let's not shutdown the iocp loop until after all orphans have been collected.