aboutsummaryrefslogtreecommitdiff
path: root/src/util/network.c
Commit message (Collapse)AuthorAge
* -remove trailing whitespaceChristian Grothoff2013-10-06
|
* *sigh* ... Matthias Wachs2013-10-01
|
* -towards addressing #3047, note this causes the code to FTBFSChristian Grothoff2013-09-30
|
* -undo #29640, somehow causes problemsChristian Grothoff2013-09-27
|
* moving from abstract unix domain socket paths to normal unix domain socket ↵Christian Grothoff2013-09-26
| | | | paths (#2887), removing now unnecessary/dead flags argument to GNUNET_NETWORK_socket_bind
* Applying 1st patch from Andrew Cann (see also #2887).Christian Grothoff2013-09-26
| | | | | | | | | | | | https://canndrew.org/misc/trim_abstract_socket_paths.diff [^] This changes the addrlen argument passed to the connect, bind and sendto syscalls to reflect the length of the string in sockaddr_un.sun_path. I was trying to talk to GNUnet services using socat and discovered that it expects abstract sockets to be created this way and won't connect otherwise. Looking at some other programs that I could talk to using socat (dbus, X11), this is how they create abstract sockets as well.
* -check return values, doxygen, code cleanupChristian Grothoff2013-09-26
|
* -fix shortening routine to deal with longer hashesChristian Grothoff2013-09-20
|
* add GNUNET_NETWORK_socket_free_memory_only_ API to allow getting raw FD and ↵Christian Grothoff2013-09-16
| | | | releasing struct without leaking 'addr' member
* Fix timing problems in *_select() on W32LRN2013-09-08
| | | | | | | | | | 1) If timeout is < 1ms, round it up to 1ms, because WaitForMultipleObjects() can't wait for time shorter than 1ms (0ms means "don't wait at all"). 2) Read data from the wakeup socket before commanding the select thread to start selecting. For some reason the socket would be in signalled state by the time winsock's select() runs, even though we emptied it the last time. So now we empty it beforehand. This should prevent us from returning early in some cases.
* -fix u/clarify/improve util/network code doxygen documentationChristian Grothoff2013-08-29
|
* -eliminate more uses of ShortHashCode, breaks signaturesChristian Grothoff2013-08-19
|
* - use SO_REUSEADDR for SOCK_STREAM type sockets onlySree Harsha Totakura2013-08-15
|
* changing time measurement from milliseconds to microsecondsChristian Grothoff2013-08-11
|
* -fix warnings on W32Christian Grothoff2013-07-24
|
* doxygenFlorian Dold2013-06-26
|
* Fix non-windows non-IPv6 build.David Barksdale2013-06-21
|
* Fixed GNUNET_CLIENT_service_test on FreeBSD.David Barksdale2013-06-20
| | | | | | | This should also fix any other platform with AF_UNIX that is not Linux or Mingw.
* Fix warnings and fix/improve logging in network.cLRN2013-03-20
|
* -check for EINPROGRESS for UNIX, hopefully fixing #2741Christian Grothoff2013-01-30
|
* W32: Remove unnecessary 0 and -1 checksLRN2012-11-01
|
* W32: optimize GNUNET_NETWORK_fdset_addLRN2012-11-01
|
* -bugfixes, code cleanupChristian Grothoff2012-10-26
|
* bratao: W32: Optimize ..._select() implementationLRN2012-10-25
| | | | | | | Begin with a quick sequential check of sockets and pipes, and bail out if something is selected already, or if timeout is zero, avoiding overhead of setting up all the stuff necessary to sleep until either a socket or a pipe wakes us up.
* Implement non-inheritable sockets for W32LRN2012-10-08
|
* -reorderChristian Grothoff2012-09-27
|
* -minor code cleanupChristian Grothoff2012-07-18
|
* Handle peek errors more appropriately in w32 selectLRN2012-07-13
|
* Safer handling of corner-cases in w32 selectLRN2012-07-13
|
* -dos2unixChristian Grothoff2012-07-11
|
* -LRN: Log timeouts that are bigger than DWORD; fix format stringChristian Grothoff2012-06-24
|
* -fixing #2439Christian Grothoff2012-06-20
|
* LRN: new select wrapper for W32 which avoids busy-waitingChristian Grothoff2012-06-07
|
* -bratao: there is one little innofensive patch. ↵Christian Grothoff2012-06-01
| | | | http://pastebin.com/iRharWUm , On W32 we waiting 10 microseconds on the select, and its completely unecessary. Some tests are 30% faster to me.
* -added accessors for network handleMartin Schanzenbach2012-06-01
|
* -typoChristian Grothoff2012-05-15
|
* -help seaspider some moreChristian Grothoff2012-05-15
|
* -misc offline hacking / code cleanup in utilChristian Grothoff2012-04-21
|
* -do not warn if stat fails, do not output DEBUG messages in testChristian Grothoff2012-04-01
|
* -removing legacy #ifdefsChristian Grothoff2012-04-01
|
* -eliminating duplicate codeChristian Grothoff2012-03-23
|
* -some more #if DEBUG eliminationChristian Grothoff2012-02-26
|
* -LRN: Pipe-errors-will-trigger-ready-to-read-eventChristian Grothoff2012-01-21
|
* Implement passing sockets in IPC on W32 (#1975)Christian Grothoff2011-12-06
|
* -LRN: fix socket_close loggingChristian Grothoff2011-12-02
|
* curly wars / auto-indentationChristian Grothoff2011-11-04
|
* fixChristian Grothoff2011-10-20
|
* LRN loves slist: Use stack allocation for slist iteratorChristian Grothoff2011-10-14
|
* LRN: Fix slist misuse in network.cChristian Grothoff2011-10-12
|
* converting to GNUNET_LOG_from*Christian Grothoff2011-10-11
|