summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sung-jae Park [Fri, 27 Dec 2013 11:00:48 +0000 (20:00 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Fri, 27 Dec 2013 10:03:36 +0000 (19:03 +0900)]
Remove NONBLOCK flag from pipes
Change-Id: Ic171862e4f09609d6a69c5c067907638d7ac40a6
Sung-jae Park [Tue, 17 Dec 2013 13:18:27 +0000 (22:18 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Tue, 17 Dec 2013 10:31:37 +0000 (19:31 +0900)]
[side effect] Fix build error (remove unused variable)
Exit from the loop if it fails to write a char to the pipe
Change-Id: I7e984f9dd87d28200cf241e049a711ff0291b979
Sung-jae Park [Tue, 17 Dec 2013 09:38:30 +0000 (18:38 +0900)]
Discards the chunks when it fails to queue an event
Change-Id: If94ce60148eab509fc21f5696d046528a35a9aba
Sung-jae Park [Sat, 30 Nov 2013 09:33:19 +0000 (18:33 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Fri, 29 Nov 2013 15:51:57 +0000 (00:51 +0900)]
Debug mode enabled
Change-Id: I5b6584acfce760139b8ffada4e469d150ec2723e
Sung-jae Park [Tue, 5 Nov 2013 07:57:35 +0000 (16:57 +0900)]
Sync with the tizen 3.0
Change-Id: I3a934684888ae00e66b9d374940ef7eb267a3582
Sung-jae Park [Thu, 26 Sep 2013 06:05:54 +0000 (15:05 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Thu, 26 Sep 2013 02:31:47 +0000 (11:31 +0900)]
If clock_gettime is failed, try to use gettimeofday again
Change-Id: Ie6ddcab7bcb369dca08b16e5a9b12d84979c1190
Sung-jae Park [Thu, 26 Sep 2013 01:15:01 +0000 (10:15 +0900)]
Replace gettimeofday with clock_gettime
Change-Id: Ice0e00e2ffbba6f5a31012b56cf6df0f4884db95
Sung-jae Park [Tue, 20 Aug 2013 07:14:46 +0000 (16:14 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Tue, 20 Aug 2013 03:31:33 +0000 (12:31 +0900)]
Fix build error
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I8b8cc17a189e72b0009ec40fbd3ef3adbe13314e
Sung-jae Park [Fri, 9 Aug 2013 12:07:29 +0000 (21:07 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Fri, 9 Aug 2013 05:16:15 +0000 (14:16 +0900)]
Update coding convention
Use the '{' '}' for local block(if, for, while, ...) even if it has A line.
Change-Id: I29a8d8ab2c6023db66312b2d2ca93b8c4440248a
Sung-jae Park [Sat, 3 Aug 2013 04:51:53 +0000 (13:51 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Mon, 29 Jul 2013 09:53:01 +0000 (18:53 +0900)]
Supporting TCP/IP socket communication.
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I67f778a2006342b055290bc67c38a88d4ac7d6d2
Sung-jae Park [Wed, 24 Jul 2013 00:43:00 +0000 (09:43 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Mon, 22 Jul 2013 14:56:27 +0000 (23:56 +0900)]
Enable TCP_NODELAY.
Change-Id: I847191cd99c1495b60f9c246a1d453c4ac00ac24
Sung-jae Park [Mon, 22 Jul 2013 11:56:14 +0000 (20:56 +0900)]
Call the pthread_yield
Change-Id: Ie31c8aea615f1f206fbcd1c5aea5a1d7da030af7
Sung-jae Park [Mon, 22 Jul 2013 06:01:22 +0000 (15:01 +0900)]
Change the recv/send socket buffer size.
Recv bufsz: 512KB (kernel will double this to 1MB)
Send bufsz: 256KB (kernel will double this to 512KB)
This change is only can be applied by selection of kernel.
So even if I change this, the kernel can change it what it can support.
Change-Id: Ic3119dd82bbaf3845ac34fcf39f2f099cb9a70eb
Sung-jae Park [Fri, 19 Jul 2013 05:04:26 +0000 (14:04 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Thu, 18 Jul 2013 07:07:01 +0000 (16:07 +0900)]
Support the finalize the connection even if it is in the recv callback
While in the recv callback, if the client tries to disconnect from the server,
the recv callback called again. because of disconnected event callback.
This patch will prevent call the same recv callback if it is in process.
Change-Id: Ib9a14849e0ff60ee72770d540bce31ac2c0cc396
Sung-jae Park [Thu, 4 Jul 2013 07:20:56 +0000 (16:20 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Wed, 3 Jul 2013 23:07:22 +0000 (08:07 +0900)]
Remove last trailing comma. To keep the compatibility with old standard.
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Some compiler (which keeps old standard) complains the last trailling comma.
[cause] It's a standard.
[solution] Remove the last trailling comma.
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: Id6f59d3caef17116c24a58a186f373c5e942ca01
Sung-jae Park [Fri, 28 Jun 2013 01:13:41 +0000 (10:13 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Thu, 27 Jun 2013 04:13:45 +0000 (13:13 +0900)]
Remove unnecessary logs
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Reduce logs
[cause] Too many logs are printed.
[solution] Delete unnecessary logs.
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I84c4e3885d39d343bbd5f0ae11ee4e0b3ac9fa25
Sung-jae Park [Thu, 13 Jun 2013 02:21:55 +0000 (11:21 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Wed, 12 Jun 2013 11:25:14 +0000 (20:25 +0900)]
Disconnected callback should be called even if connection closed by main thread.
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Disconnected callback is not invoked.
[cause] When a main thread tries to close the connection, disconnected callback is not invoked.
[solution] Guarantees call of registered disconnected callback even though the main thread explictly close a socket.
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: Ia90480aca9e558d6edeb7b5a9656f89fc0fa5cc4
Sung-jae Park [Wed, 5 Jun 2013 11:04:00 +0000 (20:04 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Tue, 4 Jun 2013 07:09:03 +0000 (16:09 +0900)]
Thread termination code is updated.
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Thread is not terminated. so the process hangs while waiting thread termination.
[cause] If a main thread close the fd, service thread can not detect it.
[solution] Add ctrl-pipe to terminate the service thread. (to wakeup it from select)
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I9d253eefa1b5c3206046cfff1f16ae89798a94fa
Sung-jae Park [Mon, 3 Jun 2013 05:52:09 +0000 (14:52 +0900)]
Apply Secure Log
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Secure Log is not applied
[cause] N/A
[solution] Apply Secure Log
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I0db22ff0472937394d8b3d1183ec2aeaebf02b87
Sung-jae Park [Thu, 30 May 2013 13:20:14 +0000 (22:20 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Thu, 30 May 2013 13:16:24 +0000 (22:16 +0900)]
Fix the invalid log print code.
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Crash occured
[cause] print an integer as string type.
[solution] Fix it
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I20c6fdc2b56841acb3bf32b5eecac804853474b6
Sung-jae Park [Mon, 6 May 2013 07:27:54 +0000 (16:27 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Mon, 6 May 2013 07:27:07 +0000 (16:27 +0900)]
Resolve the prevent issue.
CID 52800
Change-Id: Ia5b6872874cdcb26cd810703bac7b343cb825145
Sung-jae Park [Tue, 30 Apr 2013 11:43:56 +0000 (20:43 +0900)]
Merge branch 'devel/home/master'
Sung-jae Park [Tue, 30 Apr 2013 04:52:13 +0000 (13:52 +0900)]
Do not update chunk->size using return of recv.
Update logging message
Change-Id: Ie877e765c80f66ac949d0c9826f4be10c69a1c18
Sung-jae Park [Thu, 25 Apr 2013 11:10:45 +0000 (20:10 +0900)]
Update com-core.
Remove pthread_cancel.
Change-Id: I3a0dcb10d33efda33cc4d311c2eedefed6787d1b
Sung-jae Park [Thu, 25 Apr 2013 04:30:33 +0000 (13:30 +0900)]
Put complains of the valgind to sleep calm.
Change-Id: I3c1fadce91bc2fed987a7b4c2f146b12bedc31df
Sung-jae Park [Thu, 28 Mar 2013 11:44:50 +0000 (11:44 +0000)]
Merge branch 'devel/home/master'
Sung-jae Park [Mon, 25 Mar 2013 02:53:43 +0000 (02:53 +0000)]
Update License
2011 -> 2013
Change-Id: Ib96efb572eb839d9922effe9a5cb44851de34b62
Sung-jae Park [Sat, 19 Jan 2013 05:10:03 +0000 (14:10 +0900)]
Change S/W license to Apache from Flora
Change-Id: Ib415c8e667aeb5d67d36b714009c60a15ef006dc
Sung-jae Park [Sat, 12 Jan 2013 04:49:03 +0000 (13:49 +0900)]
Macro definition is added for com-core_packet-router
Change-Id: If67a6c62fcfb85cb709e8026fe8629950e02049c
Sung-jae Park [Mon, 7 Jan 2013 10:13:13 +0000 (19:13 +0900)]
Fix the build error
Change-Id: Ifb5c7ac9280e4e2970cd2b8d2213fc1262be9730
Sung-jae Park [Fri, 4 Jan 2013 12:26:59 +0000 (21:26 +0900)]
Revise the spec file.
Replace the pthread_mutex_lock with CRITICAL_SECTION_BEGIN macro
and the pthread_mutex_unlock with CRITICAL_SECTION_END macro.
To upgrade the readability of codes
Change-Id: Ia442d729b6430933e583c1762a4cafc589beb53c
Sung-jae Park [Wed, 2 Jan 2013 03:56:23 +0000 (12:56 +0900)]
Change the LOG_TAG by guide of kernel team
Change-Id: I34b011f9ad06776ccdbe0b2a41de505bdc86bd5b
Sung-jae Park [Fri, 21 Dec 2012 11:20:21 +0000 (20:20 +0900)]
Revise the code for compiling this using gcc 4.6
Change-Id: I5265f94ec2bfb4ba68eb0933396d9023e52c4695
Sung-jae Park [Fri, 21 Dec 2012 03:27:53 +0000 (12:27 +0900)]
Revise the code to apply the gcc 4.6
Change-Id: Ia0619e2eb72c037f69a92a47592c03aeed404fe5
Sung-jae Park [Wed, 19 Dec 2012 13:04:08 +0000 (22:04 +0900)]
Enable the send thread.
Packet should be sent via ONE thread.
If it sent from the multiple threads,
we have to care the thread-safety.
If the packet's destination address is 'ZERO',
Pull up it to the server's main thread and handle it using the
method_table, or forward packet to the destination.
Change-Id: Ied696b921747e6dc009fc1c0be06cf587b0c6af8
Sung-jae Park [Wed, 19 Dec 2012 08:16:09 +0000 (17:16 +0900)]
Update license for uploading to RSA
Change-Id: Iaf3dc7c72b18bfeffca888966515b2e2a6a5a9cd
Sung-jae Park [Tue, 18 Dec 2012 08:46:31 +0000 (17:46 +0900)]
Use the source/destination address and address mask.
Address mask is used for broadcasting the packet like IPv4.
Change-Id: If1e4298852403985c7e927d82ecec3419a558ab9
Sung-jae Park [Fri, 14 Dec 2012 13:58:45 +0000 (22:58 +0900)]
Update interface.
Sync with the com-core_packet.
To apply it to the previous project easily.
Change-Id: I026fa05f1f0601a8c767f1752bf521e4439d1c1d
Sung-jae Park [Mon, 10 Dec 2012 04:45:04 +0000 (13:45 +0900)]
Implement the packet router
Change-Id: Ia9812fd10111b0cd081f99363f1ea4d8b2052d7d
Signed-off-by: Sung-jae Park <nicesj.park@samsung.com>
Sung-jae Park [Tue, 4 Dec 2012 12:16:21 +0000 (21:16 +0900)]
Check the existences before remove it
Change-Id: I6bb672315a2aab9a75762b4f278a699bb80f286f
Sung-jae Park [Thu, 29 Nov 2012 12:13:24 +0000 (21:13 +0900)]
Update the return value check of pthread functions
Change-Id: I457fb244c3b7e093f010425afee3207179521f9c
Sung-jae Park [Tue, 27 Nov 2012 05:12:55 +0000 (14:12 +0900)]
Revise the code followed by the result of prevent.
Change-Id: I033fe598c5c3de367a501f5761e87ce52aa3c415
Sung-jae Park [Fri, 23 Nov 2012 06:05:59 +0000 (15:05 +0900)]
Updated for mange the server object.
To release all of them correctly.
Change-Id: Ia2ac150eb4cb53cd33fcc790e80851a34a23e063
Sung-jae Park [Tue, 20 Nov 2012 06:47:50 +0000 (15:47 +0900)]
Add threaded com-core.
Change-Id: I29d7dceb0b5945b18574fd4197ecacb76e96ae5a
Sung-jae Park [Sun, 4 Nov 2012 08:34:50 +0000 (17:34 +0900)]
Revise the code by prevent result.
CID 24528
Change-Id: If53aaa5e63def36d2f0c8c8f014f6fc9ec1fff01
Sung-jae Park [Wed, 31 Oct 2012 04:54:44 +0000 (13:54 +0900)]
Revise the code.
Change-Id: If632e15c9e81dc39c330e136f220c19d42a14e90
Sung-jae Park [Fri, 12 Oct 2012 08:50:49 +0000 (17:50 +0900)]
Add license file
Remove debian folder
Change-Id: I6f449e741ec4895fa334fa8c87af1eaf117d21f0
Sung-jae Park [Wed, 19 Sep 2012 06:34:30 +0000 (15:34 +0900)]
Applying smack manifest
Change-Id: Id2307f3a863fd95397d1b69abc937a4d33a7cedb
Sung-jae Park [Wed, 19 Sep 2012 04:34:27 +0000 (13:34 +0900)]
Updated for upload to a binary.
Busy waiting codes are replaced with select().
Change-Id: Iae6b942b910a87b45b2f252e9bf7bf01b57531ae
Sung-jae Park [Fri, 14 Sep 2012 01:52:25 +0000 (10:52 +0900)]
Remove busy-waiting code
Change-Id: I791f27f8566012529db08959361d31792efe7c94
Sung-jae Park [Wed, 5 Sep 2012 02:04:50 +0000 (11:04 +0900)]
Updated
Change-Id: I05cbe5f4646886671c3e9fdab9c180dfbec52a9c
Sung-jae Park [Thu, 30 Aug 2012 07:15:22 +0000 (16:15 +0900)]
Handling the NULL string value
Change-Id: I763f8b04386fdf98ff7d1a8ed4abf500ec813c65
Sung-jae Park [Tue, 14 Aug 2012 03:50:09 +0000 (12:50 +0900)]
Update version for uploading this to Tizen OBS
Change-Id: Ic53d4e5a5c3ce347e383a3f8e6d8cacf52ddfef8
Sung-jae Park [Sat, 11 Aug 2012 07:49:53 +0000 (16:49 +0900)]
Update license
Change-Id: Ifdb2ae02eed7b61f3d7c6731a779378975f1fa7f
Sung-jae Park [Sat, 28 Jul 2012 11:40:06 +0000 (20:40 +0900)]
SEL Verification - bug fixed
Remove the FIOREAD.
Handling the receive ZERO byte receiving
S1-6489
S1-6520
S1-6337
S1-6494
S1-5750
P120725-0076
Change-Id: Iaf8efdd8836b3ca60f0ca7cdcf65c3457e7f3a36
Sung-jae Park [Thu, 26 Jul 2012 13:31:37 +0000 (22:31 +0900)]
Replace the BUSY-WAITING CODE with the SELECT.
Change-Id: I1403ecd17b371905c3b9cd9489fcd5ba072ef9c3
Sung-jae Park [Thu, 26 Jul 2012 09:15:58 +0000 (18:15 +0900)]
Check the packet length while parsing it.
Change-Id: Iac9a811ca3667b5101b71c63a2cf350680941f0b
Sung-jae Park [Thu, 26 Jul 2012 03:03:02 +0000 (12:03 +0900)]
Handling the error case. for preventing the lock-up
Try to send/recv packet and check the time.
If it exceed the maximum waiting time,
Just stop and give up send/recv packet
And return false to handling it correctly by user.
Handling the exceptional case more hardly.
Decrease the timeout value to 2 secs from 10 secs
Change-Id: I4d78f471d1555c66b687e4979a7110b62325e7e6
Sung-jae Park [Wed, 25 Jul 2012 08:55:24 +0000 (17:55 +0900)]
Add log for debugging
Change-Id: Idfebcea0198c3424b0ed9613196b7258836767dd
Sung-jae Park [Mon, 23 Jul 2012 08:09:43 +0000 (17:09 +0900)]
Add -g option for generating strip binary correctly
Add timeout parameter for async_send
Change-Id: I837dacccdf65122d2905108ef69d36185ed2a4b7
Sung-jae Park [Mon, 23 Jul 2012 04:07:29 +0000 (13:07 +0900)]
Remove verbose debugging message
Change-Id: I599632288e39ed2693048745746e195c7d847094
Sung-jae Park [Fri, 20 Jul 2012 01:07:57 +0000 (10:07 +0900)]
Strip the binary
Change-Id: I950b72b4a9a236cefa63361122a569ad0b6b2aed
Sung-jae Park [Wed, 18 Jul 2012 07:36:35 +0000 (16:36 +0900)]
Revise the packet build(create) function.
Fix the bug of payload size calculation code
Change-Id: If55874bb41e3b45c2ab79384d7b35715346d956d
Sung-jae Park [Tue, 17 Jul 2012 08:57:33 +0000 (17:57 +0900)]
Update TAG
Change-Id: I6bc56abc3f94750ae0e82cdd3e30d725686b8029
Sung-jae Park [Mon, 16 Jul 2012 07:03:32 +0000 (16:03 +0900)]
Check the validity of a packet object
Change-Id: I255c5876fce10ff51d64ce7bb9a18f3b6ea1729a
Sung-jae Park [Fri, 6 Jul 2012 11:20:43 +0000 (20:20 +0900)]
Add const type qualifier to packet argument of service handlers.
Change-Id: Iece659e869524bbfc2db95a76bc957eb42893dbc
Sung-jae Park [Wed, 27 Jun 2012 09:17:22 +0000 (18:17 +0900)]
Rename connector to com-core
Change-Id: I184df9a0bff4c579cc3abef8d436bc658e6b0ed8
Sung-jae Park [Tue, 19 Jun 2012 00:12:50 +0000 (09:12 +0900)]
API names are changed.
Rename put_handle with remove_handle
Rename secom with secure_socket
Change-Id: Ia306c817463e846a3b7a482521e15e0241b7cd04
Sung-jae Park [Mon, 18 Jun 2012 06:50:48 +0000 (15:50 +0900)]
Initiate the project
Change-Id: I633039acae13b95af2ee3aa83cd6eeb17cdeb9dd
youngil.won [Mon, 18 Jun 2012 06:19:41 +0000 (15:19 +0900)]
Initial empty repository