Changeset 55168c75e76b2c0c385088d498edc4e1a4842332

Show
Ignore:
Timestamp:
12/03/08 17:47:27 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1228326447 +0000
git-parent:

[ea0809f5e7f454f5e874bca7d79be8e2d6a10789]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1228326447 +0000
Message:

scaffolding for HTTP server..., refs #64

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/Makefile.in

    r66c613e r55168c7  
    4040STRATCON_OBJS=stratcond.o noit_listener.o \ 
    4141        noit_console.o noit_console_state.o noit_console_telnet.o \ 
    42         noit_conf.o noit_tokenizer.o \ 
     42        noit_conf.o noit_http.o noit_tokenizer.o \ 
     43        stratcon_realtime_http.o \ 
    4344        stratcon_jlog_streamer.o stratcon_datastore.o 
    4445 
  • src/stratcon.conf

    r4f6de15 r55168c7  
    7676    </listener> 
    7777  </consoles> 
     78  <realtime type="stratcon_realtime_http"> 
     79    <listener address="*" port="8080"> 
     80    </listener> 
     81  </realtime> 
    7882  </listeners> 
    7983 
  • src/stratcond.c

    r839ed4b r55168c7  
    1818#include "stratcon_jlog_streamer.h" 
    1919#include "stratcon_datastore.h" 
     20#include "stratcon_realtime_http.h" 
    2021 
    2122#define APPNAME "stratcon" 
     
    142143  } 
    143144  noit_console_init(); 
     145  stratcon_realtime_http_init(APPNAME); 
    144146  noit_listener_init(APPNAME); 
    145147