Statistics
| Branch: | Revision:

streamers / loop.c @ master

History | View | Annotate | Download (5.87 KB)

# Date Author Comment
1aef23ec 04/02/2012 10:24 AM Csaba Kiraly

Merge branch 'next' into grapes-0.3

Conflicts:
topology.c

595ac9f8 11/16/2011 12:42 PM Csaba Kiraly

changing to AGPL

bdb50374 07/06/2011 08:09 AM Csaba Kiraly

GRAPES 0.3: add transintional node_addr helper

c2acf38d 06/06/2011 11:38 AM Csaba Kiraly

Merge branch 'mingw32' into next

803dc96f 06/05/2011 10:26 AM napawine

loop: fix regression from a34ed273: wait4data timeout was not initialized if fd exists

ae79ac88 06/05/2011 10:26 AM napawine

loop: after chunk generation, add delay to tnow instead of tnext

d938a129 06/05/2011 10:26 AM napawine

loop: allow timeouts larger than 1 sec

3e5b40f5 05/31/2011 10:38 AM Csaba Kiraly

win32 compatibility

3c6d3da8 05/20/2011 10:16 AM Csaba Kiraly

Merge branch 'source-offer-periodic' into next

Conflicts:
loop.c

58839c90 05/20/2011 09:20 AM Csaba Kiraly

exporting period from loop.c

30b58780 05/19/2011 03:34 PM Csaba Kiraly

add periodic offer to source as well

0599e8ed 05/19/2011 03:34 PM Csaba Kiraly

remove offer/chunk from source loop

7fad165e 05/19/2011 03:33 PM Csaba Kiraly

change tnext's scope from global local scope

cd27c615 05/11/2011 12:51 PM Csaba Kiraly

Merge branch 'master' into next

73ee6525 05/11/2011 12:30 PM Csaba Kiraly

Merge branch 'fixes-polito'

Conflicts:
streamer.c

64f1ba08 05/11/2011 11:46 AM Csaba Kiraly

loop: remove a commented line

e0394ea0 05/11/2011 11:46 AM Csaba Kiraly

minor: some indentation

7b1ec76e 05/06/2011 11:38 AM Csaba Kiraly

removing more http I/O specific code

deprecated. Use chunkstream instead!

a080ab84 05/06/2011 11:19 AM Csaba Kiraly

fixing a debug message

03de31e0 05/02/2011 02:13 PM Csaba Kiraly

changing input (-f) and output (-F) parameter format

we had a mixed use of flags, I/O file name and parameters.
Now it has been unified.

dda691ff 04/12/2011 07:50 PM Csaba Kiraly

Merge branch 'source-offer' into 2011-INFOCOM

9176d3d1 03/29/2011 08:16 AM Csaba Kiraly

add streamer topology messages

9ea73763 03/08/2011 10:59 AM Csaba Kiraly

some whitespaces

7e65d1f7 03/08/2011 10:59 AM Csaba Kiraly

improved debug messages

feaec543 02/16/2011 04:58 PM Csaba Kiraly

source sends out an offer as well

TODO: synch with loop-mt

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer-win/Applications/Streamer@2471 c54fac2e-1815-407e-9b96-088d06743913

14893aa5 02/16/2011 04:58 PM Csaba Kiraly

adding buffer to the source

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/portablestreamer-win/Applications/Streamer@2469 c54fac2e-1815-407e-9b96-088d06743913

63ebb93d 02/16/2011 04:46 PM Csaba Kiraly

moving Windows specific defintion of timeradd to a separate header

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/Streamer@2527 c54fac2e-1815-407e-9b96-088d06743913

a34ed273 02/10/2011 01:28 PM Luca Abeni

Remove some hacks

2323102b 08/16/2010 03:56 PM MarcoBiazzini

OfferStreamer/loop.c : dispatching the tman msg_type correctly

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@2022 c54fac2e-1815-407e-9b96-088d06743913

5805c339 08/04/2010 08:47 PM GiuseppeTropea

UL offerstreamer integration
- introduced two variants of http server: EVENT based and MHD libmicrohttpd (threads) based
- consequently modified and expanded Makefile

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1918 c54fac2e-1815-407e-9b96-088d06743913

b8d7817f 08/03/2010 02:49 PM GiuseppeTropea

UL offerstreamer integration
- sorted out very nasty bug due to locking a mutex in the loop() function, which was crazy since the loop()
function is not involved with the separate http receiver thread. It randomly segfaulted on different machines
since the mutex was not properly initialized to NULL due to static mutex...

e28a1487 07/27/2010 09:02 AM Csaba Kiraly

changing refs to msg_types.h to grapes_msg_types.h

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1793 c54fac2e-1815-407e-9b96-088d06743913

c86d8685 07/25/2010 08:27 PM Csaba Kiraly

fixing error: fds overwritten by wait4data

fds is also used as return value

Conflicts:

loop.c

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1728 c54fac2e-1815-407e-9b96-088d06743913

653129d8 07/25/2010 08:27 PM Csaba Kiraly

changing source loop to handle input's file descriptors

Conflicts:

loop.c

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1725 c54fac2e-1815-407e-9b96-088d06743913

c9370421 07/25/2010 08:26 PM Csaba Kiraly

input_open: adding parameters to pass back some file descriptors

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1724 c54fac2e-1815-407e-9b96-088d06743913

26e2780e 07/25/2010 08:26 PM Csaba Kiraly

sigInit is not needed anymore, had been replaced by chunkSignalingInit of GRAPES

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1720 c54fac2e-1815-407e-9b96-088d06743913

7eee10e4 07/25/2010 08:26 PM Csaba Kiraly

separate chunk generation from adding the chunk to the system

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1719 c54fac2e-1815-407e-9b96-088d06743913

74a5d4ae 07/17/2010 11:39 PM Csaba Kiraly

Revert "Changed to build both with cc and g++"

This reverts commit 7ed27fb098c874145c4210155330b206e97ee8aa.

Conflicts:

Applications/OfferStreamer/Makefile

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1585 c54fac2e-1815-407e-9b96-088d06743913

03dca3bf 07/14/2010 02:55 PM ArpadBakay

UL Build changes by Giuseppe/Arpad

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1549 c54fac2e-1815-407e-9b96-088d06743913

ada339a0 07/13/2010 02:16 PM ArpadBakay

Undoing changes by Guiseppe

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1548 c54fac2e-1815-407e-9b96-088d06743913

46df1492 07/13/2010 01:41 PM GiuseppeTropea

removed large video files

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1547 c54fac2e-1815-407e-9b96-088d06743913

23442a5b 07/10/2010 11:57 PM ArpadBakay

Changed to build both with cc and g++

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/Applications/OfferStreamer@1535 c54fac2e-1815-407e-9b96-088d06743913

b07667ee 05/17/2010 10:54 AM Csaba Kiraly

improve logging of pushes to the source

cf820c66 05/09/2010 07:09 PM Csaba Kiraly

changed initialization order: chunkbuffer first, peers after

otherwise send_bmap fails while adding the first peer

08495d05 04/29/2010 04:16 PM Csaba Kiraly

upgrading to the new net-helper interface, that also takes an FD_SET as
parameter

fcb5c29b 04/09/2010 08:34 AM Csaba Kiraly

moving peerset related stuff to topology.c

c4983616 03/30/2010 09:17 AM Csaba Kiraly

Merge branch 'RockStreamer' into OfferStreamer

3a1f076c 03/30/2010 09:17 AM Csaba Kiraly

Merge branch 'DumbStreamer' into RockStreamer

Conflicts:
loop-mt.c
loop.c

54f4d42f 03/30/2010 08:20 AM Csaba Kiraly

exit gracefully if input file not found

7c7bb98b 03/19/2010 08:12 AM Csaba Kiraly

Merge branch 'RockStreamer' into OfferStreamer

Conflicts:
loop.c

a8dd4c42 03/19/2010 08:00 AM Csaba Kiraly

Merge branch 'DumbStreamer' into RockStreamer

Conflicts:
loop-mt.c

9d6a53c3 03/19/2010 07:59 AM Csaba Kiraly

handle some receive errors

525bb486 03/17/2010 12:47 PM Csaba Kiraly

handle some receive errors

625dbc20 03/17/2010 12:38 PM Csaba Kiraly

increase buffer size to accomodate large messages

b14ec756 03/13/2010 07:35 PM Csaba Kiraly

Merge branch 'RockStreamer' into OfferStreamer

0d6547a4 03/13/2010 07:35 PM Csaba Kiraly

Merge branch 'DumbStreamer' into RockStreamer

19096da1 03/13/2010 12:53 PM Csaba Kiraly

increased buffer size

b62e670e 03/08/2010 10:51 AM Csaba Kiraly

Merge branch 'RockStreamer' into OfferStreamer

Conflicts:
Makefile

7abbc9e7 03/08/2010 10:48 AM Csaba Kiraly

fixed missing initialization of d.tv_sec in loop

be0ecb71 03/04/2010 01:14 PM Csaba Kiraly

follow net_helper.h changes to wait4data

Conflicts:

loop.c
08ea2d40 03/04/2010 01:14 PM Csaba Kiraly

add some more debug to loop

Conflicts:

loop.c
46c24e94 03/04/2010 01:13 PM Csaba Kiraly

configurable loop support

Conflicts:

loop.c
streaming.h
a6130899 03/04/2010 01:12 PM Csaba Kiraly

Merge branch 'merge-csaba' again

Conflicts:
input-dummy.c
loop-mt.c

f08928bc 03/03/2010 02:48 PM Luca Abeni

Merge branch 'RockStreamer' into OfferStreamer

fbeb4f32 03/03/2010 02:24 PM Csaba Kiraly

added from parameter to update_peers

43355360 03/03/2010 02:19 PM Csaba Kiraly

added send_offer and changed loop to send offers

da9c1511 03/03/2010 02:04 PM Luca Abeni

Merge branch 'master' into RockStreamer

Conflicts:
Makefile
loop.c
output.c
streaming.c

627ce9ba 03/03/2010 01:59 PM Luca Abeni

Merge branch 'new_nethelper_interface'

c14d968c 03/03/2010 01:48 PM Csaba Kiraly

follow net_helper.h changes to wait4data

Conflicts:

loop.c
dfe2b7b8 03/02/2010 10:12 PM Csaba Kiraly

add some more debug to loop

Conflicts:

loop.c
4888d47e 03/02/2010 04:30 PM Luca Abeni

Merge branch 'master' into RockStreamer

Conflicts:
dumbstreamer.c
loop-mt.c
loop.c
streaming.h

e0d1fc3a 03/02/2010 04:22 PM Csaba Kiraly

use nodeID_free instead of free

d310076d 03/02/2010 04:08 PM Csaba Kiraly

added "from" parameter to sigParseData

2f846ddd 03/02/2010 04:08 PM Csaba Kiraly

separated topology.c from loop.c

6fe7eade 03/02/2010 04:02 PM Luca Abeni

Merge commit 'origin/io_consolidation' into RockStreamer

Conflicts:
Makefile
loop.c
streaming.h

30a6e902 03/02/2010 12:51 PM Csaba Kiraly

configurable loop support

Conflicts:

loop.c
streaming.h
eb39805a 03/02/2010 12:50 PM Luca Abeni

Merge branch 'merge-csaba'

Conflicts:
input-dummy.c
loop-mt.c

8fed7779 03/02/2010 12:43 PM Luca Baldesi

added GPL

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/DumbStreamer@502 a72f678d-4428-462c-85b4-08f063ced704

a9d7dd3b 02/26/2010 09:26 AM Luca Abeni

Use a proper nodeID dtor

bb1f75db 02/01/2010 08:44 AM Luca Abeni

Unstable changes

afdc8db4 01/28/2010 10:56 PM Luca Abeni

Fix up the timing...

ce80b058 01/28/2010 10:56 PM Luca Abeni

Explicit timing information in the input

Conflicts:

streaming.c
018c744a 01/28/2010 05:11 AM Csaba Kiraly

use buffermap messages as keepalive. Drop peer if no message arrive.

e223dc99 01/28/2010 05:06 AM Csaba Kiraly

added handling of signaling messages to loop.c

e98d8f50 01/28/2010 01:26 AM Csaba Kiraly

added peerset and "from" parameters to receiver_chunk

0f35d029 01/28/2010 01:24 AM Csaba Kiraly

change send_chunk interface to peerset based

3df216c8 01/28/2010 01:19 AM Csaba Kiraly

use peerset and update it when the topo changes (update_peerset)

4136911a 01/27/2010 02:33 PM Luca Abeni

Update to the new net helper API

615e8354 01/26/2010 08:13 PM Luca Abeni

Use the official types from msg_type.h

10796872 01/25/2010 02:57 PM Luca Abeni

Better error message

0759159a 01/24/2010 05:22 PM Luca

Larger input buffer

7442ecb3 01/24/2010 04:25 PM Luca

Pass a file name to the input module

0a40460a 01/22/2010 01:49 PM Luca

Allow to set some parameters

d2a239c6 01/21/2010 02:59 PM Luca

Add missing "break"

6920fdab 01/21/2010 02:56 PM Luca

Initialise the chunk trading logic

c851d69c 01/20/2010 03:46 PM Luca Abeni

Better debug printfs

89e893e2 01/17/2010 09:55 PM Luca

DumbStream, first import