aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
Commit message (Collapse)AuthorAge
* Attempt to better explain secure server creationGravatar Craig Tiller2015-02-17
|
* Documentation tweaks in grpc.h.Gravatar Nathaniel Manista2015-02-16
|
* Cleaning up our posix definition / usage.Gravatar Nicolas "Pixel" Noble2015-02-14
| | | | | | | -) Let's not use _POSIX_SOURCE. It usually implies too much C99. _BSD_SOURCE would be the right thing to do here. -) _BSD_SOURCE is getting deprecated by glibc, so we also have to define _DEFAULT_SOURCE under Linux. -) accept4 and eventfd arn't as old as we may think; let's detect for it. -) stdint.h interferes with all these definitions if included too early; let's move it down.
* Merge pull request #500 from nicolasnoble/secure_getenvGravatar Craig Tiller2015-02-12
|\ | | | | Not all Linuxes are equal, and secure_getenv isn't always there.
| * Not all Linuxes are equal, and secure_getenv isn't always there.Gravatar Nicolas Noble2015-02-12
| | | | | | | | | | Let's include <features.h> to figure out if the system we're on is supporting secure_getenv, and adapt accordingly. I suspect we might want to do the same with epoll, as it was added to glibc in 2.3.2, and eventfd has been added to glibc in 2.8.
* | Actually include the port_platform.h epoll change tooGravatar David Klempner2015-02-11
| |
* | Merge branch 'master' into epollGravatar David Klempner2015-02-11
|\|
| * Merge pull request #448 from nicolasnoble/grpc-win32Gravatar Craig Tiller2015-02-11
| |\ | | | | | | Windows port of iomgr.
* | | Epoll based multipollerGravatar David Klempner2015-02-10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This is a multipoller based on epoll rather than poll. Note that this implementation is aimed at correctness rather than performance, although it should immediately have better scalability to large numbers of FDs, both due to epoll's O(1) sized API and due to not needing to wake up polling threads to do interest set changes. One notable difference here is that we directly attach a wakeup fd rather than using the freelisting kick mechanism that the poll() based implementations use, because modifying the epoll set to use a different kick fd each time isn't free.
* | Add some documentationGravatar Craig Tiller2015-02-09
| |
| * Merge branch 'master' of github.com:google/grpc into grpc-win32Gravatar Nicolas "Pixel" Noble2015-02-10
| |\ | |/ |/|
* | Add commentsGravatar Craig Tiller2015-02-05
| |
* | Merge github.com:google/grpc into async-api-newGravatar Craig Tiller2015-02-05
|\ \
| * \ Merge pull request #359 from jboeuf/ssl_default_creds_integrationGravatar Yang Gao2015-02-05
| |\ \ | | | | | | | | Adding support for loading the SSL roots from an environment variable.
* | | | Fix memory usageGravatar Craig Tiller2015-02-05
| | | |
* | | | Add some commentsGravatar Craig Tiller2015-02-04
| | | |
* | | | Merge github.com:google/grpc into async-api-newGravatar Craig Tiller2015-02-04
|\| | |
| | * | Adding linux specific env implementation.Gravatar Julien Boeuf2015-02-04
| | | |
| * | | Merge github.com:google/grpc into async-apiGravatar Craig Tiller2015-02-04
| |\ \ \
| | | | * Merge branch 'master' of github.com:google/grpc into grpc-win32Gravatar Nicolas "Pixel" Noble2015-02-04
| | | | |\ | | | |_|/ | | |/| | | | | | | | | | | | Conflicts: include/grpc/support/time_win32.h
| | | | * Second draft of the win32 implementation.Gravatar Nicolas "Pixel" Noble2015-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | -) Client code is now threadsafe. -) The echo_client code runs and succeeds.
| | * | | Remove the platform specific time headersGravatar David Klempner2015-02-04
| | | | |
| | * | | Merge branch 'master' into timespecGravatar David Klempner2015-02-04
| | |\ \ \
| | | * \ \ Merge pull request #392 from dklempner/timevalGravatar Craig Tiller2015-02-04
| | | |\ \ \ | | | | | | | | | | | | | | Remove timeval functions
* | | | \ \ \ Merge github.com:google/grpc into async-api-newGravatar Craig Tiller2015-02-04
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| | | | * | | Remove timeval functionsGravatar David Klempner2015-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They only had one caller, which could easily be converted to use timespec instead of timeval.
| | | * | | | Make gpr_timespec no longer be a typedef for struct timespec in posixGravatar David Klempner2015-02-04
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that for the typedef to work we need _POSIX_C_SOURCE to be defined properly before any file that uses gpr_timespec includes anything. This is extremely fragile unless we change CFLAGS, which probably isn't worth doing for this.
* | | | | | Updated the first test (which fails)Gravatar Craig Tiller2015-02-03
| | | | | |
| | | | | * First draft of the win32 implementation of iomgr.Gravatar Nicolas "Pixel" Noble2015-02-04
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Caveats: -) The win32 pollset isn't threadsafe (yet). -) Only client code is implemented. -) Only very simple code has been tested with it yet.
| * | / | Fixing tsan errors in OpenSSL (#319)Gravatar Julien Boeuf2015-02-03
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Added cross-platform implementation of gpr_thd_currentid(); - OpenSSL still shows some TSAN errors on OPENSSL_cleanse which is inherently not thread-safe but this should not matter: see http://stackoverflow.com/questions/26433772/why-does-openssl-cleanse-look-so-complex-and-thread-unsafe
* | | | Flesh out batch APIGravatar Craig Tiller2015-02-03
| | | |
* | | | Flesh out new APIGravatar Craig Tiller2015-02-03
| |/ / |/| |
| | * Adding support for loading the SSL roots from an environment variable.Gravatar Julien Boeuf2015-02-02
| |/ | | | | | | | | | | - Had to add support for files and environment variables as well. - I can't compile on windows so I'm sure there will be some issues. - Tested end-to-end with the simple ssl fullstack test.
* / Back-end for new core APIGravatar Craig Tiller2015-02-02
|/
* Prepare for the new batch call API.Gravatar Craig Tiller2015-02-02
| | | | | Rename all core API functions that are on their way to deprecation with an _old tag across all wrappings.
* Properly selecting chunks of code for the wakeup fd codepath.Gravatar Nicolas "Pixel" Noble2015-01-30
|
* Re-enabling errors on warning, disabling unused parameter warning, and ↵Gravatar Nicolas "Pixel" Noble2015-01-30
| | | | fixing all subsequent errors.
* Merge pull request #157 from dklempner/eventfdGravatar Craig Tiller2015-01-27
|\ | | | | Add support for eventfd based kicking on linux.
* \ sync up with masterGravatar Yang Gao2015-01-27
|\ \
| * \ Merge github.com:google/grpc into javascriptGravatar Craig Tiller2015-01-27
| |\ \
| | | * Merge branch 'master' into eventfdGravatar David Klempner2015-01-26
| | | |\ | | | |/ | | |/| | | | | | | | | This includes nuking the special pollset_kick_windows.h, since it is no longer relevant.
| | | * Refactor the pipe/eventfd abstractionGravatar David Klempner2015-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces the wakeup fd interface, corresponding approximately to the existing Google version, complete with a ported giant detailed usage comment. The implementation has two layers, "specialized" and "fallback". The specialized layer is intended to be a suitable platform specific implementation like eventfd, whereas "fallback" is probably pipe, with runtime detection of whether the specialized version works on this system (currently stubbed out).
* | | | run clang-formatGravatar Yang Gao2015-01-26
| |/ / |/| |
* | | Merge pull request #179 from ctiller/kill-printfGravatar jboeuf2015-01-23
|\ \ \ | | | | | | | | Remove uses of sprintf
| * | | Move string.h to internal codeGravatar Craig Tiller2015-01-23
| | | |
| * | | Add defineGravatar Craig Tiller2015-01-23
| | | |
| * | | Add gpr_ltoaGravatar Craig Tiller2015-01-23
| | | |
* | | | Merge branch 'master' of github.com:google/grpc into merge_new_invoke_apiGravatar murgatroid992015-01-23
|\| | |
| | * | Merge github.com:google/grpc into javascriptGravatar Craig Tiller2015-01-23
| | |\ \ | | |/ / | |/| |
| * | | Merge pull request #153 from ctiller/windows-fixesGravatar Jan Tattermusch2015-01-23
| |\ \ \ | | | | | | | | | | Windows fixes