welcome to squid-dev! ons 2006-06-07 klockan 23:02 -0700 skrev Bharath Devanathan: > I am trying to get squid 2.6 to use libevent. I looked at the source and > have a plan on how to go about this. Before I embark on doing this, can > someone review this and let me know if I am on the right track ? > > 1) create a new file ( comm_libevent.c), based on comm_epoll.c > 2) modify struct _fde to be aware of libevent structures and remove the > fields that are necessary for epoll. > 3) get rid of the "#ifdef USE_EPOLL" in squid.h, structs.h and comm.c > 4) Implement functions in comm_libevent.c, using libevent. These > functions basically replicate the behavior present in epoll.c > > I think that sums up the changes needed. How does that sound ?
Sounds somewhat reasonable, except that it has become simpler in the last few days. You no longer need to touch any of the core files, just add comm_libevent.c and make Squid build with this.. kqueue support was added some hours ago, but we are still interested in libevent support. Regards Henrik
signature.asc
Description: Detta är en digitalt signerad meddelandedel
