len = BIO_gets(cbio, inbuf, 1024);
len = BIO_gets(cbio, inbuf, sizeof inbuf);
static int do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio, char *port)	{	int have_post = 0, len;	OCSP_REQUEST *req = NULL;	char inbuf[1024];	BIO *cbio = NULL;	if (BIO_do_accept(acbio) <= 0)		{			BIO_printf(bio_err, "Error accepting connection\n");			ERR_print_errors(bio_err);			return 0;		}	cbio = BIO_pop(acbio);	*pcbio = cbio;	for(;;)		{		len = BIO_gets(cbio, inbuf, 1024);		if (len <= 0)			return 1;		/* Look for "POST" signalling start of query */		if (!have_post)			{			if(strncmp(inbuf, "POST", 4))				{				BIO_printf(bio_err, "Invalid request\n");				return 1;				}			have_post = 1;			}		/* Look for end of headers */		if ((inbuf[0] == '\r') || (inbuf[0] == '\n'))			break;		}	/* Try to read OCSP request */	req = d2i_OCSP_REQUEST_bio(cbio, NULL);	if (!req)		{		BIO_printf(bio_err, "Error parsing OCSP request\n");		ERR_print_errors(bio_err);		}	*preq = req;	return 1;	}