-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDP sockets support (suite) #53
base: development
Are you sure you want to change the base?
Commits on Nov 6, 2012
-
Make overlay_mdp_client_socket_path local
There is no reason for this variable to be external. It is used in init() and was used in done(), but the unlink() in done() is useless: it was already called on init() so the file was already unlinked.
Configuration menu - View commit details
-
Copy full SHA for 263232b - Browse repository at this point
Copy the full SHA 263232bView commit details
Commits on Nov 7, 2012
-
Configuration menu - View commit details
-
Copy full SHA for f55e2b7 - Browse repository at this point
Copy the full SHA f55e2b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d44386 - Browse repository at this point
Copy the full SHA 9d44386View commit details -
Remove useless external declaration
I removed the definition of mdp_client_socket, but an external declaration was remaining.
Configuration menu - View commit details
-
Copy full SHA for 61c35db - Browse repository at this point
Copy the full SHA 61c35dbView commit details
Commits on Nov 9, 2012
-
lookup_send_request() must use the socket of the caller, not create a new one (detected by dnaprotocol test script).
Configuration menu - View commit details
-
Copy full SHA for 4b273b4 - Browse repository at this point
Copy the full SHA 4b273b4View commit details
Commits on Nov 16, 2012
-
Configuration menu - View commit details
-
Copy full SHA for f5a6dc7 - Browse repository at this point
Copy the full SHA f5a6dc7View commit details -
overlay_mdp_send must be blocking
Else, once the buffer is full, we get errno=11
Configuration menu - View commit details
-
Copy full SHA for 0bfa34d - Browse repository at this point
Copy the full SHA 0bfa34dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b81ad7 - Browse repository at this point
Copy the full SHA 1b81ad7View commit details
Commits on Nov 22, 2012
-
ReleaseByteArrayElements last parameter is mode. Its value is: - 0: copy back the content and free the buffer; - JNI_COMMIT: copy back the content and *do not* free the buffer; - JNI_ABORT: free the buffer without copying back the possible changes. We definitely want 0. With JNI_COMMIT, after receiving more than ~1024 packets, it crashes: ReferenceTable overflow (max=1024)
Configuration menu - View commit details
-
Copy full SHA for cf81ee4 - Browse repository at this point
Copy the full SHA cf81ee4View commit details
Commits on Jan 7, 2013
-
Merge branch 'master' into mdpsock
Conflicts: commandline.c mdp_client.c serval.h sourcefiles.mk
Configuration menu - View commit details
-
Copy full SHA for 1e671e6 - Browse repository at this point
Copy the full SHA 1e671e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fa6f78 - Browse repository at this point
Copy the full SHA 0fa6f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80cb5e2 - Browse repository at this point
Copy the full SHA 80cb5e2View commit details
Commits on Jan 8, 2013
-
Configuration menu - View commit details
-
Copy full SHA for dd1a7c4 - Browse repository at this point
Copy the full SHA dd1a7c4View commit details
Commits on Jan 14, 2013
-
Remove sun_path file on MDP socket close
Avoid to keep a lot of useless files like: var/serval-node/mdp-client-XXXX-XXXXXXXX.socket
Configuration menu - View commit details
-
Copy full SHA for 92a28a2 - Browse repository at this point
Copy the full SHA 92a28a2View commit details
Commits on Jan 15, 2013
-
Delete all socket files on servald start
If serval does not close properly, socket files are kept in /data/data/org.servalproject/var/serval-node. Therefore, we need to clean up when servald starts.
Configuration menu - View commit details
-
Copy full SHA for db2fefc - Browse repository at this point
Copy the full SHA db2fefcView commit details
Commits on Feb 7, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 1f4863f - Browse repository at this point
Copy the full SHA 1f4863fView commit details
Commits on Feb 11, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 8454944 - Browse repository at this point
Copy the full SHA 8454944View commit details
Commits on Feb 21, 2013
-
Configuration menu - View commit details
-
Copy full SHA for f93642c - Browse repository at this point
Copy the full SHA f93642cView commit details -
Special return code for "socket closed"
Blocking recv calls return a special return code (-2) for notifying the socket is closed (this information is useful for MDP socket users). This implementation is unsatisfactory: return code should instead be consistent with recvfrom(), that is always returning the length of received data (0 for socket closed).
Configuration menu - View commit details
-
Copy full SHA for 8d2ce4b - Browse repository at this point
Copy the full SHA 8d2ce4bView commit details
Commits on Mar 6, 2013
-
Merge branch 'development' into mdpsock
Conflicts: commandline.c mdp_client.c serval.h
Configuration menu - View commit details
-
Copy full SHA for 24ca2f4 - Browse repository at this point
Copy the full SHA 24ca2f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9be2d1a - Browse repository at this point
Copy the full SHA 9be2d1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d1fea9 - Browse repository at this point
Copy the full SHA 8d1fea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for be8b48e - Browse repository at this point
Copy the full SHA be8b48eView commit details -
Open MDP sockets as late as possible
Avoid to open/close it if something goes wrong early.
Configuration menu - View commit details
-
Copy full SHA for a9a8b88 - Browse repository at this point
Copy the full SHA a9a8b88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6848279 - Browse repository at this point
Copy the full SHA 6848279View commit details
Commits on Mar 7, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 69e7f7a - Browse repository at this point
Copy the full SHA 69e7f7aView commit details
Commits on May 31, 2013
-
Merge branch 'development' into mdpsock
Conflicts: commandline.c mdp_client.c serval.h
Configuration menu - View commit details
-
Copy full SHA for 0503619 - Browse repository at this point
Copy the full SHA 0503619View commit details
Commits on Jul 18, 2013
-
Merge branch 'development' into mdpsock
Conflicts: commandline.c mdp_client.c serval.h
Configuration menu - View commit details
-
Copy full SHA for 6b9ad2b - Browse repository at this point
Copy the full SHA 6b9ad2bView commit details
Commits on Jul 20, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 30b8757 - Browse repository at this point
Copy the full SHA 30b8757View commit details