Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Devious2
@Devious2
Any help would be appreciated
Devious2
@Devious2
errorno.h of mingw doesn't contain
#ifndef EOPNOTSUPP #define EOPNOTSUPP 130 #endif
Devious2
@Devious2
i have manually added definitions and percentage of compilation increased
but while compiling log.c it gives <arpa/inet.h> not found
and mingw does not contain arpa/inet.h
Devious2
@Devious2
#include <arpa/inet.h>
and there is no switch to for win32 and linux
Devious2
@Devious2
Hi @azat can you please give your inputs on this?
Devious2
@Devious2
Hi @azat @NathanFrench log.c is not cross platform . I have raised the issue on github.
Devious2
@Devious2
able to build it on windows but using cygwin. It would be great if you can fix for mingw
Devious2
@Devious2
Perfectly working using cygwin
Devious2
@Devious2
image.png
hi can anyone help me with this
here on browser i am hitting five request and i have put sleep of 5 seconds
so when 5 requests get hit only 2 thread get the work done mostly
whereas when i hit using JMeter all thread get the request
image.png
this is when i hit using Jmeter all five thread get the request
Devious2
@Devious2
here i am sending 10 requests from JMeter
image.png
where as when i send only 5 requests from JMeter first 3 requests are handled by 3 threads but 4th and 5th request is handled by 1st and 2nd thread but after 5 seconds
it should had given the requests to other two threads right ?which are free instead of waiting for the threads which are busy
Azat Khuzhin
@azat

it should had given the requests to other two threads right ?

It is not strictly defined. You can try compiling libevhtp with EVHTP_THR_SHARED_PIPE enabled (i.e. -DEVHTP_THR_SHARED_PIPE=ON) but it is unlikely that this will change anything

You can take a look at the underlying "scheduler" here - https://github.com/criticalstack/libevhtp/blob/f78d0a86778e277c75c8d0c14e7256bafb4b37e8/thread.c#L111

Devious2
@Devious2
Thank you so much @azat for reverting will surely try this
Devious2
@Devious2
No luck @azat
image.png
same thread handling all the request
Devious2
@Devious2
Hi @azat can you please recommend other library which i can use for task like this
??
coz libevhtp is failing on browser but working using JMeter
Devious2
@Devious2
Can anyone suggest any library which will work perfectly for production
Marwan Rabbâa
@waghanza
hi @/all, could libevhtp be compiled on alpine ?
Devious2
@Devious2
Can anyone help coz i am in mess currently
Devious2
@Devious2
can anyone help with this
ping2balaji
@ping2balaji
hello anyone here for a help reg libevhtp?
ping2balaji
@ping2balaji
im facing issue in libevhtp if i bind socket locally while using httpclient