56575859606162636465
if (end) return -1; size += 1; if (size>maxsize) { while (readp()!=-1) {} logger.warn("smtp maximum message size exceeded { size='"+size+" bytes'}"); throw new MaxMessageSizeException("maximum message size is exceeded",logger); } return readp(); }
65666768697071727374
int l = in.read(b, off, len); bytesread += l; if (maxmessagesize > 0 && bytesread > maxmessagesize) { throw new MaxMessageSizeException("message size exceeded {maxmessagesize='"+maxmessagesize+"'}",logger); } return l; }
8283848586878889
public int read() throws IOException { if (maxmessagesize > 0 && bytesread <= maxmessagesize) { bytesread++; return in.read(); } else { throw new MaxMessageSizeException("message size exceeded {maxmessagesize='"+maxmessagesize+"'}",logger); } }
37383940414243444546
public int read() throws IOException { size += 1; if (size>maxsize) { while (readp()!=-1) {} logger.warn("smtp maximum message size exceeded { size='"+size+" bytes'}"); throw new MaxMessageSizeException("maximum message size is exceeded",logger); } return readp(); }